diff options
author | piernov <piernov@piernov.org> | 2012-01-22 11:53:58 +0100 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2012-01-22 11:53:58 +0100 |
commit | 656378eb13dd8c1af44a368e7dfee3333eb055a2 (patch) | |
tree | 9707d7a6d1af19d5c1d8431821232ae81ce42d85 /pkgutils/Pkgfile | |
parent | 9626427c1a1d9c292fc519810c13b9a8073e777f (diff) | |
parent | 8d576551b5c270c65fe06443b7295d73cc662064 (diff) | |
download | nutyx-pakxe-656378eb13dd8c1af44a368e7dfee3333eb055a2.tar.gz nutyx-pakxe-656378eb13dd8c1af44a368e7dfee3333eb055a2.tar.bz2 nutyx-pakxe-656378eb13dd8c1af44a368e7dfee3333eb055a2.tar.xz nutyx-pakxe-656378eb13dd8c1af44a368e7dfee3333eb055a2.zip |
Merged with http://kiao.no-ip.info/NuTyX/git/nutyx-pakxe → Repository splitted → nutyx-pakxe
Diffstat (limited to 'pkgutils/Pkgfile')
-rw-r--r-- | pkgutils/Pkgfile | 29 |
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 +} + |