# Description: GNU tar
# URL: http://www.gnu.org/software/tar/tar.html
# Maintainer: CRUX System Team, core-ports at crux dot nu
-# Arch Maintainer: CRUX-ARM System
+# Arch Maintainer: CRUX-ARM System, crux-arm at mikeux dot dyndns dot org
+# Depends on:
name=tar
version=1.22
$name-rootp.patch tar.1 rmt.8)
build() {
- cd $name-$version
- patch -p1 -i $SRC/$name-rootp.patch
- ./configure --build=$CHOST \
- --host=$CTARGET \
- --prefix= \
- --libexec=/usr/lib/tar \
- --disable-nls
- make
- make DESTDIR=$PKG install
- rm -rf $PKG/{sbin,share}
- install -D -m 644 $SRC/tar.1 $PKG/usr/man/man1/tar.1
- install -D -m 644 $SRC/rmt.8 $PKG/usr/man/man8/rmt.8
+ cd $name-$version
+ patch -p1 -i $SRC/$name-rootp.patch
+
+ ./configure --build=$CHOST \
+ --host=$CTARGET \
+ --prefix= \
+ --libexec=/usr/lib/tar \
+ --disable-nls
+ make
+ make DESTDIR=$PKG install
+
+ rm -rf $PKG/{sbin,share}
+ install -D -m 644 $SRC/tar.1 $PKG/usr/man/man1/tar.1
+ install -D -m 644 $SRC/rmt.8 $PKG/usr/man/man8/rmt.8
}