Add license

This commit is contained in:
2025-05-11 15:12:47 +03:00
parent acdeb7308b
commit 9f957a8294
2 changed files with 5 additions and 0 deletions
+2
View File
@@ -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
+3
View File
@@ -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
}