3d6f1242fe
Also removed the version tag from rootp.patch.
23 lines
595 B
Plaintext
23 lines
595 B
Plaintext
# Description: GNU tar
|
|
# URL: http://www.gnu.org/software/tar/tar.html
|
|
# Maintainer: Per Lidén, core-ports at crux dot nu
|
|
|
|
name=tar
|
|
version=1.16.1
|
|
release=1
|
|
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2 \
|
|
$name-rootp.patch tar.1 rmt.8)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
patch -p1 -i $SRC/$name-rootp.patch
|
|
./configure --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
|
|
}
|