summaryrefslogtreecommitdiffstats
path: root/base/diffutils/Pkgfile
blob: 1550b7ef52558a3d8ef51b60b42b5ef3d82db68a (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
# 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
}