6a56bc4bb64fc9bb48d28e66a30ad937 rmt.8
-0ced6f20b9fa1bea588005b5ad4b52c1 tar-1.26.tar.xz
-e4038247fa36a51d2784e163f58f6e38 tar-rootp.patch
+e0382a4064e09a4943f3adeff1435978 tar-1.27.1.tar.xz
+ca1dfac68cbaed902edc75290cccf03a tar-rootp.patch
7c2293e8c051ade56db42daf2279e5eb tar.1
# Depends on:
name=tar
-version=1.26
-release=2
+version=1.27.1
+release=1
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz \
$name-rootp.patch tar.1 rmt.8)
build() {
cd $name-$version
-
- # fix for glibc 'gets' removal
- sed -i -e '/gets is a/d' gnu/stdio.in.h
patch -p1 -i $SRC/$name-rootp.patch
-
./configure --build=$CHOST \
--host=$CTARGET \
--prefix= \
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