1 # Description: A tool to copy files into or out of a cpio or tar archive
2 # URL: http://www.gnu.org/software/cpio/
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
9 source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2 \
15 patch -p1 -i $SRC/cpio-2.11-stat.patch
16 # fix for glibc 'gets' removal
17 sed -i -e '/gets is a/d' gnu/stdio.in.h
19 ./configure --build=$CHOST \
26 make DESTDIR=$PKG install
28 rm -r $PKG/usr/{share,libexec}
29 rm $PKG/usr/man/man1/mt.1