core/cpio/Pkgfile

22 lines
592 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
2010-03-15 19:08:06 +01:00
version=2.11
release=2
2009-06-22 10:36:23 +02:00
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
2006-02-23 16:26:10 +01:00
build() {
cd $name-$version
# fix for glibc 'gets' removal
sed -i -e '/gets is a/d' gnu/stdio.in.h
./configure --prefix=/usr \
2006-10-22 18:38:15 +02:00
--mandir=/usr/man \
--disable-nls
2006-02-23 16:26:10 +01:00
make
make DESTDIR=$PKG install
2007-07-06 08:46:48 +02:00
rm -r $PKG/usr/{share,libexec}
2006-10-22 18:38:15 +02:00
rm $PKG/usr/man/man1/mt.1
2006-02-23 16:26:10 +01:00
}