summaryrefslogtreecommitdiffstats
path: root/base/pkg-repgen/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2011-03-27 17:10:11 +0200
committertnut <thierryn1 at hispeed dot ch>2011-03-27 17:10:11 +0200
commit01ea6ca4ac66ecdce3f6fc42158a5af8185609bb (patch)
treefc66000d93e79c58ada4e2091dcfc3bb3d253e58 /base/pkg-repgen/Pkgfile
parent5535fcb06bc7fd1c0ce5dff521940cb40d362545 (diff)
downloadnutyx-pakxe-01ea6ca4ac66ecdce3f6fc42158a5af8185609bb.tar.gz
nutyx-pakxe-01ea6ca4ac66ecdce3f6fc42158a5af8185609bb.tar.bz2
nutyx-pakxe-01ea6ca4ac66ecdce3f6fc42158a5af8185609bb.tar.xz
nutyx-pakxe-01ea6ca4ac66ecdce3f6fc42158a5af8185609bb.zip
pkg-repgen, ajout port
Diffstat (limited to 'base/pkg-repgen/Pkgfile')
-rw-r--r--base/pkg-repgen/Pkgfile24
1 files changed, 24 insertions, 0 deletions
diff --git a/base/pkg-repgen/Pkgfile b/base/pkg-repgen/Pkgfile
new file mode 100644
index 000000000..2c8cead47
--- /dev/null
+++ b/base/pkg-repgen/Pkgfile
@@ -0,0 +1,24 @@
+# Description: Outil de gestion de paquets binaires pour NuTyX
+# URL: http://www.varlock.com et nutyx.org
+# Maintainer: thierryn1 at hispeed dot ch
+# Packager: thierryn1 at hispeed dot ch
+
+name=pkg-repgen
+version=0.5.2
+release=1
+source=(http://nutyx.meticul.eu/files/pkg-get-$version.tar.gz)
+
+build() {
+ARCH_=`uname -m`
+ cd $name-$version
+ make PREFIX=$PKG/usr CFGDIR=$PKG/etc install
+ mkdir -p $PKG/usr/share
+ mv $PKG/usr/{man,share/man}
+ rm $PKG/etc/pkg-get.conf
+ rm $PKG/usr/bin/pkg-get
+ rm $PKG/usr/share/man/man8/pkg-get.8
+ if [ "$ARCH_" == "x86_64" ]; then
+ sed -i "s/i686/x86_64/" $PKG/usr/bin/pkg-repgen
+ fi
+}
+