From 9f957a8294ebbf1d3a28960b854396fa1f082f6f Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sun, 11 May 2025 15:11:18 +0300 Subject: [PATCH] Add license --- pkg.info | 2 ++ source.sh | 3 +++ 2 files changed, 5 insertions(+) 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 }