summaryrefslogtreecommitdiffstats
path: root/base/tar/Pkgfile
blob: c6ad408eaca7f47435f6615cecc36b0a7d0dee14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Description: Le programme de sauvegarde de GNU 
# URL: http://www.gnu.org/software/tar/tar.html
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch

name=tar
version=1.26
release=1
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)

build() {
cd $name-$version
FORCE_UNSAFE_CONFIGURE=1 ./configure --prefix=/usr \
	--bindir=/bin \
	--libexecdir=/usr/sbin
make
make DESTDIR=$PKG install
if [ -f $PKG/usr/share/info/dir ]; then
	rm $PKG/usr/share/info/dir
fi
}