diff options
Diffstat (limited to 'grep/Pkgfile')
-rwxr-xr-x | grep/Pkgfile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/grep/Pkgfile b/grep/Pkgfile new file mode 100755 index 000000000..2601c697b --- /dev/null +++ b/grep/Pkgfile @@ -0,0 +1,21 @@ +# Description: Programme pour rechercher à travers des fichiers. +# URL: http://www.gnu.org/software/grep/ +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch + +name=grep +version=2.8 +release=1 +source=( http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz ) + +build() { +cd $name-$version +./configure --prefix=/usr --mandir=/usr/share/man \ + --infodir=/usr/share/info --without-included-regex \ + --bindir=/bin +make +make DESTDIR=$PKG install +if [ -f $PKG/usr/share/info/dir ]; then + rm $PKG/usr/share/info/dir +fi +} |