summaryrefslogtreecommitdiffstats
path: root/base/pkgutils/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-08 22:18:19 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-08 22:18:19 +0200
commit82244b600daaab8df5e928cbda30729943927abc (patch)
tree45785349f42abc47c8fb017ce83660df997472cb /base/pkgutils/Pkgfile
parentfbda6ec65f50014ab4e2c773c90992c2ff7f51b8 (diff)
downloadnutyx-pakxe-82244b600daaab8df5e928cbda30729943927abc.tar.gz
nutyx-pakxe-82244b600daaab8df5e928cbda30729943927abc.tar.bz2
nutyx-pakxe-82244b600daaab8df5e928cbda30729943927abc.tar.xz
nutyx-pakxe-82244b600daaab8df5e928cbda30729943927abc.zip
Ajout de pkgutils#5.34.0-1
Diffstat (limited to 'base/pkgutils/Pkgfile')
-rw-r--r--base/pkgutils/Pkgfile26
1 files changed, 26 insertions, 0 deletions
diff --git a/base/pkgutils/Pkgfile b/base/pkgutils/Pkgfile
new file mode 100644
index 000000000..1483ad9fb
--- /dev/null
+++ b/base/pkgutils/Pkgfile
@@ -0,0 +1,26 @@
+# Description: A set of utilities to manage software packages
+# URL: http://www.fukt.bsnet.se/~per/pkgutils/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: libarchive
+
+name=pkgutils
+version=5.34.0
+release=1
+source=(http://crux.nu/files/$name-$version.tar.gz \
+nutyx-2009.1.patch)
+build () {
+cd $name-$version
+mkdir -p $PKG/usr/share
+patch -Np1 -i ../nutyx-2009.1.patch
+make DESTDIR=$PKG install
+case `uname -m` in
+ x86_64)
+ sed -i "s/march=native/mtune=generic/" $PKG/etc/pkgmk.conf;;
+ i?86)
+ sed -i "s/native/i686/" $PKG/etc/pkgmk.conf;;
+esac
+ mv $PKG/usr/man \
+ $PKG/usr/share/man
+}
+