From ada1dd368f6fa5081654deb1d62ba6f3a9f26093 Mon Sep 17 00:00:00 2001 From: Lukc Date: Sun, 12 Dec 2010 07:45:14 +0100 Subject: Recette de GNU cpio ajoutée. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gcpio/Pkgfile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 gcpio/Pkgfile (limited to 'gcpio/Pkgfile') diff --git a/gcpio/Pkgfile b/gcpio/Pkgfile new file mode 100644 index 0000000..f3cb509 --- /dev/null +++ b/gcpio/Pkgfile @@ -0,0 +1,25 @@ +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 +} -- cgit v1.2.3-70-g09d2