CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
procps: updated to 3.3.3 and aligned with upstream. Cleaned cross patches.
[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
b751b192 4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
1c4d5d09 5# Depends on:
6dca1d21
JB
6
7name=tar
8d133ee5 8version=1.26
6dca1d21 9release=1
8d133ee5 10source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz \
6dca1d21
JB
11 $name-rootp.patch tar.1 rmt.8)
12
13build() {
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 \
90858e88
VM
21 --disable-nls \
22 FORCE_UNSAFE_CONFIGURE=1
23
1c4d5d09
JB
24 make
25 make DESTDIR=$PKG install
26
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
6dca1d21 30}