milis/talimatname/temel/gawk/talimat

36 lines
793 B
Plaintext

# Description: The Gawk package contains programs for manipulating text files.
# URL: http://www.gnu.org/software/gawk/
# Maintainers: Paul Rubin,Paul Finlason,Richard Stallman,David Trueman and,Arnold Robbins
# Packager: pierre at nutyx dot org
name=gawk
version=4.1.3
release=1
source=(http://ftp.gnu.org/gnu/gawk/gawk-$version.tar.xz)
build()
{
cd gawk-$version
./configure --prefix=/usr
make
# Some checks fails
make check || true
make DESTDIR=$PKG install
rm -rf $PKG/usr/share/info/dir
# Documentation
mkdir -vp $PKG/usr/share/doc/gawk-$version
cp -v doc/{awkforai.txt,*.{eps,pdf,jpg}} \
$PKG/usr/share/doc/gawk-$version
}
devel()
{
cd $PKG
bsdtar -cf \
$PKGMK_PACKAGE_DIR/$name.devel#$version-any.$PKGMK_PACKAGE_EXT \
usr/share/awk usr/include
rm -r usr/share/awk usr/include
}