summaryrefslogtreecommitdiffstats
path: root/pkgutils/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-01-08 12:12:28 +0100
committertnut <tnut at nutyx dot com>2012-01-08 12:12:28 +0100
commit9291e062cb24bac5d7c7059d4dc64669c1917b33 (patch)
treeae6f7e4fb2769d6c53b214c5e0b4d862f1df98dc /pkgutils/Pkgfile
parentc9972ec7f32bf9d37388e853fe9bf633e242d05a (diff)
downloadnutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.tar.gz
nutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.tar.bz2
nutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.tar.xz
nutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.zip
aaabasicfs 2011-3 et split des dépot base et extra en 2 git séparé
Diffstat (limited to 'pkgutils/Pkgfile')
-rw-r--r--pkgutils/Pkgfile29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgutils/Pkgfile b/pkgutils/Pkgfile
new file mode 100644
index 000000000..1a8b0ebbc
--- /dev/null
+++ b/pkgutils/Pkgfile
@@ -0,0 +1,29 @@
+# Description: Jeu d'utilitaires pour la gestion des paquets binaires et sources
+# URL: http://www.fukt.bsnet.se/~per/pkgutils/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+
+name=pkgutils
+version=5.35.1
+release=2
+source=(http://crux.nu/files/$name-$version.tar.gz \
+http://nutyx.meticul.eu/files/patchs/$name/nutyx-attapu.4.patch)
+build () {
+cd $name-$version
+mkdir -p $PKG/usr/share
+patch -Np1 -i ../nutyx-attapu.4.patch
+make DESTDIR=$PKG install
+case `uname -m` in
+ x86_64)
+ sed -i "s/march=native/mtune=generic/" $PKG/etc/pkgmk.conf
+ sed -i "s/\".md5sum\"/\".md5sum.x86_64\"/" $PKG/usr/bin/pkgmk
+ sed -i "s/\".footprint\"/\".footprint.x86_64\"/" $PKG/usr/bin/pkgmk;;
+ i?86)
+ sed -i "s/native/i686/" $PKG/etc/pkgmk.conf
+ sed -i "s/\".md5sum\"/\".md5sum.i686\"/" $PKG/usr/bin/pkgmk
+ sed -i "s/\".footprint\"/\".footprint.i686\"/" $PKG/usr/bin/pkgmk;;
+esac
+ mv $PKG/usr/man \
+ $PKG/usr/share/man
+}
+