summaryrefslogtreecommitdiffstats
path: root/cpio/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'cpio/Pkgfile')
-rwxr-xr-xcpio/Pkgfile26
1 files changed, 26 insertions, 0 deletions
diff --git a/cpio/Pkgfile b/cpio/Pkgfile
new file mode 100755
index 000000000..efbbbfb77
--- /dev/null
+++ b/cpio/Pkgfile
@@ -0,0 +1,26 @@
+# Description: Contient un outil d'archivage
+# URL: http://www.gnu.org/software/cpio/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+
+name=cpio
+version=2.11
+release=1
+source=( http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2\
+)
+
+
+build() {
+ cd $name-$version
+ ./configure \
+ --prefix=/usr \
+ --bindir=/bin \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make
+ make DESTDIR=$PKG install
+ rm -r $PKG/usr/libexec
+ if [ -f $PKG/usr/share/info/dir ]; then
+ rm $PKG/usr/share/info/dir
+ fi
+}