diff --git a/pkg.info b/pkg.info index b4faaf8..78d111d 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,9 @@ name: libmnl description: Minimalistic user-space library oriented to Netlink developers version: 1.0.5 +revision: 2 url: https://www.netfilter.org/projects/libmnl/ license: LGPL2.1 architecture: any +depends: ["glibc"] type: source diff --git a/source.sh b/source.sh index 72daa60..20a9de2 100644 --- a/source.sh +++ b/source.sh @@ -22,4 +22,7 @@ build() { # This function is used to move the compiled files into the output directory package() { make DESTDIR="$BPM_OUTPUT" install + + # Install package license + install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/libmnl/COPYING }