Fix dependencies and add license
This commit is contained in:
@@ -1,10 +1,9 @@
|
|||||||
name: gawk
|
name: gawk
|
||||||
description: GNU awk
|
description: GNU awk
|
||||||
version: 5.3.0
|
version: 5.3.0
|
||||||
revision: 2
|
revision: 3
|
||||||
url: https://www.gnu.org/software/gawk/
|
url: https://www.gnu.org/software/gawk/
|
||||||
license: GPL
|
license: GPL
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["bash","glibc","mpfr"]
|
depends: ["glibc","mpfr","sh"]
|
||||||
make_depends: ["bash","binutils","coreutils","gcc","gettext","glibc","gmp","grep","make","mpfr","patch","readline","sed","texinfo"]
|
|
||||||
type: source
|
type: source
|
||||||
|
|||||||
@@ -33,4 +33,7 @@ package() {
|
|||||||
ln -sv gawk.1 "$BPM_OUTPUT"/usr/share/man/man1/awk.1
|
ln -sv gawk.1 "$BPM_OUTPUT"/usr/share/man/man1/awk.1
|
||||||
mkdir -pv "$BPM_OUTPUT"/usr/share/doc/gawk
|
mkdir -pv "$BPM_OUTPUT"/usr/share/doc/gawk
|
||||||
cp -v doc/{awkforai.txt,*.{eps,pdf,jpg}} "$BPM_OUTPUT"/usr/share/doc/gawk
|
cp -v doc/{awkforai.txt,*.{eps,pdf,jpg}} "$BPM_OUTPUT"/usr/share/doc/gawk
|
||||||
|
|
||||||
|
# Install package license
|
||||||
|
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/gawk/COPYING
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user