CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
e2fsprogs: updated to 1.42.13 and updated mandir
[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 Team, devel at crux-arm dot nu
5 # Depends on:
6
7 name=tar
8 version=1.27.1
9 release=1
10 source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz \
11 $name-rootp.patch tar.1 rmt.8)
12
13 build() {
14 cd $name-$version
15 patch -p1 -i $SRC/$name-rootp.patch
16 ./configure --build=$CHOST \
17 --host=$CTARGET \
18 --prefix= \
19 --libexec=/usr/lib/tar \
20 --disable-nls \
21 FORCE_UNSAFE_CONFIGURE=1
22
23 make
24 make DESTDIR=$PKG install
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
28 }