summaryrefslogtreecommitdiffstats
path: root/gcpio/Pkgfile
diff options
context:
space:
mode:
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
+}