summaryrefslogtreecommitdiffstats
path: root/gtar/Pkgfile.old
blob: 7f3653fee155ed4c19a751775e6af47f43502bb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Description: GNU tar
# URL:         http://www.gnu.org/software/tar/tar.html
# Maintainer:  CRUX System Team, core-ports at crux dot nu

name=tar
version=1.25
release=1
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz \
        $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 \
                FORCE_UNSAFE_CONFIGURE=1
    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
}