CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Imported core-cross ports from 2.5
[crossrootfs.git] / tar / Pkgfile
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 # Arch Maintainer: CRUX-ARM System
5
6 name=tar
7 version=1.22
8 release=1
9 source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2 \
10 $name-rootp.patch tar.1 rmt.8)
11
12 build() {
13 cd $name-$version
14 patch -p1 -i $SRC/$name-rootp.patch
15 ./configure --build=$CHOST \
16 --host=$CTARGET \
17 --prefix= \
18 --libexec=/usr/lib/tar \
19 --disable-nls
20 make
21 make DESTDIR=$PKG install
22 rm -rf $PKG/{sbin,share}
23 install -D -m 644 $SRC/tar.1 $PKG/usr/man/man1/tar.1
24 install -D -m 644 $SRC/rmt.8 $PKG/usr/man/man8/rmt.8
25 }