core/tar/Pkgfile

25 lines
445 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: GNU tar
2021-12-13 11:48:44 +01:00
# URL: https://www.gnu.org/software/tar/tar.html
2021-02-16 13:25:02 +01:00
# Maintainer: CRUX System Team, core-ports at crux dot nu
2006-02-23 16:26:10 +01:00
name=tar
2021-02-16 13:25:02 +01:00
version=1.34
2016-05-20 12:27:14 +02:00
release=1
2021-12-13 11:48:44 +01:00
source=(https://ftpmirror.gnu.org/gnu/$name/$name-$version.tar.xz)
2006-02-23 16:26:10 +01:00
build() {
2021-02-16 13:25:02 +01:00
cd $name-$version
2021-02-16 13:25:02 +01:00
./configure \
--prefix= \
--libexec=/usr/lib/tar \
--mandir=/usr/share/man \
--disable-nls \
FORCE_UNSAFE_CONFIGURE=1
2021-02-16 13:25:02 +01:00
make
make DESTDIR=$PKG install
2021-02-16 13:25:02 +01:00
rm -r $PKG/share
2006-02-23 16:26:10 +01:00
}