summaryrefslogtreecommitdiffstats
path: root/gcpio/Pkgfile
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-12 07:45:14 +0100
committerLukc <lukc@upyum.com>2010-12-12 07:45:14 +0100
commitada1dd368f6fa5081654deb1d62ba6f3a9f26093 (patch)
treef47290bb3170002215b26fecf085fff54d2db137 /gcpio/Pkgfile
parent9af5eb18376199510ecbb280d0b574107e36bd82 (diff)
downloadopt-ada1dd368f6fa5081654deb1d62ba6f3a9f26093.tar.gz
opt-ada1dd368f6fa5081654deb1d62ba6f3a9f26093.tar.bz2
opt-ada1dd368f6fa5081654deb1d62ba6f3a9f26093.tar.xz
opt-ada1dd368f6fa5081654deb1d62ba6f3a9f26093.zip
Recette de GNU cpio ajoutée.
Diffstat (limited to 'gcpio/Pkgfile')
-rw-r--r--gcpio/Pkgfile25
1 files changed, 25 insertions, 0 deletions
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 <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
+}