core/cpio/Pkgfile
2012-08-08 09:37:58 -05:00

22 lines
592 B
Plaintext

# 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
name=cpio
version=2.11
release=2
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
}