Add license
This commit is contained in:
@@ -1,7 +1,9 @@
|
|||||||
name: libmnl
|
name: libmnl
|
||||||
description: Minimalistic user-space library oriented to Netlink developers
|
description: Minimalistic user-space library oriented to Netlink developers
|
||||||
version: 1.0.5
|
version: 1.0.5
|
||||||
|
revision: 2
|
||||||
url: https://www.netfilter.org/projects/libmnl/
|
url: https://www.netfilter.org/projects/libmnl/
|
||||||
license: LGPL2.1
|
license: LGPL2.1
|
||||||
architecture: any
|
architecture: any
|
||||||
|
depends: ["glibc"]
|
||||||
type: source
|
type: source
|
||||||
|
|||||||
@@ -22,4 +22,7 @@ build() {
|
|||||||
# This function is used to move the compiled files into the output directory
|
# This function is used to move the compiled files into the output directory
|
||||||
package() {
|
package() {
|
||||||
make DESTDIR="$BPM_OUTPUT" install
|
make DESTDIR="$BPM_OUTPUT" install
|
||||||
|
|
||||||
|
# Install package license
|
||||||
|
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/libmnl/COPYING
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user