summaryrefslogtreecommitdiffstats
path: root/base/tar/Pkgfile
blob: 548522479267a1b8e08e646a8579f2ce912a6ffe (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.25
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
}