summaryrefslogtreecommitdiffstats
path: root/gtar/Pkgfile
blob: 4610aaa7cbc205b59c09ca13c4d6cccb4878129d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
description="GNU tar."
packager="CRUX System Team <core-ports AT crux DOT nu>"
maintainer="Lukc <lukc AT upyum DOT com>"
url="http://www.gnu.org/software/tar/tar.html"
depends=()

name=gtar
version=1.25
release=1
source=(http://ftp.gnu.org/gnu/tar/tar-$version.tar.xz tar-rootp.patch gtar.1 rmt.8)
build () 
{ 
	cd tar-$version;
	patch -p1 -i $SRC/tar-rootp.patch;
	./configure --prefix= --libexec=$libexecdir/gtar $(use_enable nls) FORCE_UNSAFE_CONFIGURE=1;
	make;
	make DESTDIR=$PKG install;
	rm -rf $PKG/sbin;
	mv $PKG/{share,usr/share};
	install -D -m 644 $SRC/gtar.1 $PKG$mandir/man1/gtar.1;
	install -D -m 644 $SRC/rmt.8 $PKG$mandir/man8/rmt.8
}