CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
sysfsutils: fixed arch-maintainer's email
[crossrootfs.git] / tar / Pkgfile
CommitLineData
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
4# Arch Maintainer: CRUX-ARM System
5
6name=tar
7version=1.22
8release=1
9source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2 \
10 $name-rootp.patch tar.1 rmt.8)
11
12build() {
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}