Commit | Line | Data |
---|---|---|
6dca1d21 JB |
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 | |
bcb051c4 | 4 | # Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org |
1c4d5d09 | 5 | # Depends on: |
6dca1d21 JB |
6 | |
7 | name=tar | |
8 | version=1.22 | |
9 | release=1 | |
10 | source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2 \ | |
11 | $name-rootp.patch tar.1 rmt.8) | |
12 | ||
13 | build() { | |
1c4d5d09 JB |
14 | cd $name-$version |
15 | patch -p1 -i $SRC/$name-rootp.patch | |
16 | ||
17 | ./configure --build=$CHOST \ | |
18 | --host=$CTARGET \ | |
19 | --prefix= \ | |
20 | --libexec=/usr/lib/tar \ | |
21 | --disable-nls | |
22 | make | |
23 | make DESTDIR=$PKG install | |
24 | ||
25 | rm -rf $PKG/{sbin,share} | |
26 | install -D -m 644 $SRC/tar.1 $PKG/usr/man/man1/tar.1 | |
27 | install -D -m 644 $SRC/rmt.8 $PKG/usr/man/man8/rmt.8 | |
6dca1d21 | 28 | } |