diff options
author | tnut <tnut at nutyx dot com> | 2012-07-10 22:09:48 +0200 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2012-08-06 14:22:36 +0200 |
commit | 431d71208a8254f96316dcca23245eb14e0410d4 (patch) | |
tree | 79e28ef0c6f836a8126d4929f176f8024ae4c227 /pkgmk/Pkgfile | |
parent | 4f03b675d98934121bb10ac11497c30c84921dc0 (diff) | |
download | nutyx-pakxe-431d71208a8254f96316dcca23245eb14e0410d4.tar.gz nutyx-pakxe-431d71208a8254f96316dcca23245eb14e0410d4.tar.bz2 nutyx-pakxe-431d71208a8254f96316dcca23245eb14e0410d4.tar.xz nutyx-pakxe-431d71208a8254f96316dcca23245eb14e0410d4.zip |
pkgmk, ajout port
(cherry picked from commit 34d00e4e45bc7a93716c821467aed08cf77e5dc3)
Diffstat (limited to 'pkgmk/Pkgfile')
-rw-r--r-- | pkgmk/Pkgfile | 26 |
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 +} + |