description="A tool to copy files into or out of a cpio or tar archive." packager="CRUX System Team " maintainer="Lukc " url="http://www.gnu.org/software/cpio/" depends=() name=gcpio version=2.11 release=1 source=(http://ftp.gnu.org/gnu/cpio/cpio-$version.tar.bz2) build () { cd cpio-$version; ./configure \ --prefix=$prefix \ --mandir=$mandir \ $(use_enable nls) \ --with-program-prefix=g; make; make DESTDIR=$PKG install; #rm -r $PKG/usr/{share,libexec}; rm $PKG$mandir/man1/mt.1 mv $PKG$bindir/{cpio,gcpio} mv $PKG$mandir/man1/{cpio,gcpio}.1 }