Add comments and licenses
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
name: nettle
|
name: nettle
|
||||||
description: Low-level cryptographic library
|
description: Low-level cryptographic library
|
||||||
version: 3.9.1
|
version: 3.9.1
|
||||||
revision: 2
|
revision: 3
|
||||||
url: https://www.lysator.liu.se/~nisse/nettle
|
url: https://www.lysator.liu.se/~nisse/nettle
|
||||||
license: LGPL3-or-later or GPL2-or-later
|
license: LGPL3-or-later or GPL2-or-later
|
||||||
architecture: any
|
architecture: any
|
||||||
|
|||||||
@@ -29,7 +29,12 @@ check() {
|
|||||||
# 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
|
||||||
chmod 755 "$BPM_OUTPUT"/usr/lib/lib{hogweed,nettle}.so
|
|
||||||
install -m755 -d "$BPM_OUTPUT"/usr/share/doc/nettle
|
# Install documentation
|
||||||
install -m644 nettle.{html,pdf} "$BPM_OUTPUT"/usr/share/doc/nettle
|
install -Dm644 nettle.{html,pdf} -t "$BPM_OUTPUT"/usr/share/doc/nettle
|
||||||
|
|
||||||
|
# Install package licenses
|
||||||
|
install -Dm644 "$BPM_SOURCE"/COPYINGv2 "$BPM_OUTPUT"/usr/share/licenses/nettle/COPYINGv2
|
||||||
|
install -Dm644 "$BPM_SOURCE"/COPYING.LESSERv3 "$BPM_OUTPUT"/usr/share/licenses/nettle/COPYING.LESSERv3
|
||||||
|
install -Dm644 "$BPM_SOURCE"/COPYINGv3 "$BPM_OUTPUT"/usr/share/licenses/nettle/COPYINGv3
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user