Add comments and licenses
This commit is contained in:
@@ -29,7 +29,12 @@ check() {
|
||||
# This function is used to move the compiled files into the output directory
|
||||
package() {
|
||||
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 -m644 nettle.{html,pdf} "$BPM_OUTPUT"/usr/share/doc/nettle
|
||||
|
||||
# Install documentation
|
||||
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