description="GNU tar." packager="CRUX System Team " maintainer="Lukc " 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 \ --program-prefix=g \ $(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 }