cpio: update to 2.12

This commit is contained in:
Juergen Daubert 2015-09-24 14:47:36 +02:00
parent 0b0a570469
commit 85e92134bb
2 changed files with 4 additions and 6 deletions

View File

@ -1 +1 @@
20fc912915c629e809f80b96b2e75d7d cpio-2.11.tar.bz2
93eea9f07c0058c097891c73e4955456 cpio-2.12.tar.bz2

View File

@ -3,19 +3,17 @@
# Maintainer: CRUX System Team, core-ports at crux dot nu
name=cpio
version=2.11
release=2
version=2.12
release=1
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
build() {
cd $name-$version
# fix for glibc 'gets' removal
sed -i -e '/gets is a/d' gnu/stdio.in.h
./configure --prefix=/usr \
--mandir=/usr/man \
--disable-nls
make
make DESTDIR=$PKG install
rm -r $PKG/usr/{share,libexec}
rm $PKG/usr/man/man1/mt.1
rm -r $PKG/usr/man/man8/
}