summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2011-02-04 21:04:31 +0100
committertnut <thierryn1 at hispeed dot ch>2011-02-04 21:04:31 +0100
commit9c7a2c59ee128b00024b8a2723283fc9ff3372fd (patch)
treeddb6b48b5a4ed63d97defc658b2850ac64530a81 /base
parent7d6e3eb814fc241d31ae05071354dba845a486d2 (diff)
downloadnutyx-extra-9c7a2c59ee128b00024b8a2723283fc9ff3372fd.tar.gz
nutyx-extra-9c7a2c59ee128b00024b8a2723283fc9ff3372fd.tar.bz2
nutyx-extra-9c7a2c59ee128b00024b8a2723283fc9ff3372fd.tar.xz
nutyx-extra-9c7a2c59ee128b00024b8a2723283fc9ff3372fd.zip
pkgutils, maj pour les 2 archs
Diffstat (limited to 'base')
-rw-r--r--base/pkgutils/Pkgfile16
1 files changed, 10 insertions, 6 deletions
diff --git a/base/pkgutils/Pkgfile b/base/pkgutils/Pkgfile
index fdad6ff98..a139cc814 100644
--- a/base/pkgutils/Pkgfile
+++ b/base/pkgutils/Pkgfile
@@ -1,11 +1,11 @@
-# Description: A set of utilities to manage software packages
-# URL: http://www.fukt.bsnet.se/~per/pkgutils/
-# Maintainer: NuTyX core team
+# 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=1
+release=2
source=(http://crux.nu/files/$name-$version.tar.gz \
http://nutyx.meticul.eu/files/patchs/files/nutyx-attapu.4.patch)
build () {
@@ -15,9 +15,13 @@ 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/march=native/mtune=generic/" $PKG/etc/pkgmk.conf
+ sed -i "/\".md5sum\"/\".md5sum.x86_64\"/" $PKG/usr/bin/pkgmk
+ sed -i "/\".footprint\"/\".footprint.x86_64\"/" $PKG/usr/bin/pkgmk;;
i?86)
- sed -i "s/native/i686/" $PKG/etc/pkgmk.conf;;
+ sed -i "s/native/i686/" $PKG/etc/pkgmk.conf
+ sed -i "/\".md5sum\"/\".md5sum.i686\"/" $PKG/usr/bin/pkgmk
+ sed -i "/\".footprint\"/\".footprint.i686\"/" $PKG/usr/bin/pkgmk;;
esac
mv $PKG/usr/man \
$PKG/usr/share/man