blob: 3acf56976a21ca6a84b128205cb5a6a078654c74 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
description="A pattern scanning and processing language."
packager="CRUX System Team <core-ports AT crux DOT nu>"
maintainer="Lukc <lukc AT upyum DOT com>"
url="http://www.gnu.org/software/gawk/gawk.html"
depends=()
name=gawk
version=3.1.8
release=1
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
build ()
{
cd $name-$version;
./configure \
${CBUILD:+--build=${CBUILD}} \
${CHOST:+--host=${CHOST}} \
--prefix=$prefix \
--libexecdir=$libdir \
--mandir=$mandir \
--enable-switch \
$(use_enable nls);
make;
make DESTDIR=$PKG install;
#if ! use info; then
# rm -r $PKG/usr/share/info;
#fi
rm $PKG$prefix/bin/gawk-$version $PKG$prefix/bin/pgawk-$version $PKG$prefix/bin/{p,i}gawk $PKG$mandir/man1/{p,i}gawk.1;
ln -sf gawk.1.gz $PKG$mandir/man1/awk.1.gz
}
|