summaryrefslogtreecommitdiffstats
path: root/pkgmk/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'pkgmk/Pkgfile')
-rw-r--r--pkgmk/Pkgfile26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgmk/Pkgfile b/pkgmk/Pkgfile
new file mode 100644
index 000000000..ae91d9249
--- /dev/null
+++ b/pkgmk/Pkgfile
@@ -0,0 +1,26 @@
+# Description: L'outil pour la production des paquets binaires pour
+# NuTyX
+# URL: http://www.nutyx.org
+# Maintainer: kiao.no-ip.info/NuTyX/git/?p=pkgmk;a=summary
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: pkg-get
+# Run on:
+
+name=pkgmk
+version=0.0.1
+release=1
+source=(http://nutyx.meticul.eu/files/$name-$version.tar.gz)
+
+build()
+{
+ ARCH_=`uname -m`
+
+ cd $name-$version
+ make clean
+ make all
+ make DESTDIR=$PKG install
+ if [ "$ARCH_" == "x86_64" ]; then
+ sed -i "s/i686/x86_64/" $PKG/usr/bin/pkg-repgen
+ fi
+}
+