blob: d805c6a01d15ea05ab5f60305646cfe2774e6d4b (
plain)
1 # Description: GNU tar
2 # URL: http://www.gnu.org/software/tar/tar.html
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4
5 name=tar
6 version=1.16.1
7 release=1
8 source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2 \
9 $name-rootp.patch tar.1 rmt.8)
10
11 build() {
12 cd $name-$version
13 patch -p1 -i $SRC/$name-rootp.patch
14 ./configure --prefix= \
15 --libexec=/usr/lib/tar \
16 --disable-nls
17 make
18 make DESTDIR=$PKG install
19 rm -rf $PKG/{sbin,share}
20 install -D -m 644 $SRC/tar.1 $PKG/usr/man/man1/tar.1
21 install -D -m 644 $SRC/rmt.8 $PKG/usr/man/man8/rmt.8
22 }
|