blob: f3cb5092159b72a8c91e19229ed184fd61209a25 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
description="A tool to copy files into or out of a cpio or tar archive."
packager="CRUX System Team <core-ports AT crux DOT nu>"
maintainer="Lukc <lukc AT upyum DOT com>"
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
}
|