core/cpio/Pkgfile

21 lines
557 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: A tool to copy files into or out of a cpio or tar archive
# URL: http://www.gnu.org/software/cpio/
# Maintainer: CRUX System Team, core-ports at crux dot nu
2006-02-23 16:26:10 +01:00
name=cpio
2015-09-24 14:47:36 +02:00
version=2.12
release=2
source=(http://ftpmirror.gnu.org/gnu/$name/$name-$version.tar.bz2 \
CVE-2017-7516.patch)
2006-02-23 16:26:10 +01:00
build() {
cd $name-$version
patch -p1 -i $SRC/CVE-2017-7516.patch
./configure --prefix=/usr \
2006-10-22 18:38:15 +02:00
--disable-nls
2006-02-23 16:26:10 +01:00
make
make DESTDIR=$PKG install
2015-07-26 00:03:54 +02:00
rm -r $PKG/usr/{libexec,share/info}
rm -r $PKG/usr/share/man/man8
2006-02-23 16:26:10 +01:00
}