gawk: added --enable-switch configure option
This commit is contained in:
parent
935b1049f1
commit
6a6698de16
16
gawk/Pkgfile
16
gawk/Pkgfile
@ -4,16 +4,22 @@
|
||||
|
||||
name=gawk
|
||||
version=3.1.5
|
||||
release=1
|
||||
release=2
|
||||
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
./configure --prefix=/usr --disable-nls
|
||||
./configure --prefix=/usr \
|
||||
--enable-switch \
|
||||
--disable-nls
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
rm -rf $PKG/usr/info $PKG/usr/share $PKG/usr/libexec
|
||||
rm $PKG/usr/bin/gawk-$version $PKG/usr/bin/pgawk-$version \
|
||||
$PKG/usr/bin/{p,i}gawk $PKG/usr/man/man1/{p,i}gawk.1
|
||||
|
||||
rm -rf $PKG/usr/{info,share,libexec}
|
||||
rm $PKG/usr/bin/gawk-$version \
|
||||
$PKG/usr/bin/pgawk-$version \
|
||||
$PKG/usr/bin/{p,i}gawk \
|
||||
$PKG/usr/man/man1/{p,i}gawk.1
|
||||
|
||||
ln -sf gawk.1.gz $PKG/usr/man/man1/awk.1.gz
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user