Add licenses
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
name: man-pages
|
name: man-pages
|
||||||
description: Linux manual pages
|
description: Linux manual pages
|
||||||
version: 6.06
|
version: 6.06
|
||||||
revision: 2
|
revision: 3
|
||||||
url: https://www.kernel.org/doc/man-pages/
|
url: https://www.kernel.org/doc/man-pages/
|
||||||
license: Multiple
|
license: Linux-man-pages-1-para,Linux-man-pages-copyleft,Linux-man-pages-copyleft-var,Linux-man-pages-copyleft-2-para,BSD-2-Clause,BSD-3-Clause,BSD-4-Clause-UC,GPL1-or-later,GPL2-only,GPL2-or-later,MIT
|
||||||
architecture: any
|
architecture: any
|
||||||
make_depends: ["bash","coreutils","make"]
|
make_depends: ["bash","coreutils","make"]
|
||||||
type: source
|
type: source
|
||||||
|
|||||||
@@ -18,4 +18,8 @@ prepare() {
|
|||||||
# 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 prefix=/usr DESTDIR="$BPM_OUTPUT" install
|
make prefix=/usr DESTDIR="$BPM_OUTPUT" install
|
||||||
|
|
||||||
|
for license in LICENSES/*; do
|
||||||
|
install -Dm644 $license -t "$BPM_OUTPUT"/usr/share/licenses/man-pages/
|
||||||
|
done
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user