diff options
Diffstat (limited to 'base/diffutils/Pkgfile')
-rwxr-xr-x | base/diffutils/Pkgfile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/base/diffutils/Pkgfile b/base/diffutils/Pkgfile new file mode 100755 index 000000000..1550b7ef5 --- /dev/null +++ b/base/diffutils/Pkgfile @@ -0,0 +1,25 @@ +# Description: Programmes permettant de montrer la différence entre fichiers ou répertoires +# URL: http://www.gnu.org/software/diffutils/ +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: + +name=diffutils +version=2.8.1 +release=1 +source=( http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz\ + http://www.linuxfromscratch.org/patches/lfs/development/diffutils-$version-i18n-1.patch) + +build() { +cd $name-$version +patch -Np1 -i ../diffutils-$version-i18n-1.patch +touch man/diff.1 +./configure --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man +make +make DESTDIR=$PKG install +if [ -f $PKG/usr/share/info/dir ]; then + rm $PKG/usr/share/info/dir +fi +} |