2 # URL: http://www.gnu.org/software/tar/tar.html
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
10 source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz \
11 $name-rootp.patch tar.1 rmt.8)
15 patch -p1 -i $SRC/$name-rootp.patch
17 ./configure --build=$CHOST \
20 --libexec=/usr/lib/tar \
22 FORCE_UNSAFE_CONFIGURE=1
25 make DESTDIR=$PKG install
27 rm -rf $PKG/{sbin,share}
28 install -D -m 644 $SRC/tar.1 $PKG/usr/man/man1/tar.1
29 install -D -m 644 $SRC/rmt.8 $PKG/usr/man/man8/rmt.8