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 /prt-get/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 'prt-get/Pkgfile')
-rw-r--r-- | prt-get/Pkgfile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/prt-get/Pkgfile b/prt-get/Pkgfile new file mode 100644 index 000000000..7467e0647 --- /dev/null +++ b/prt-get/Pkgfile @@ -0,0 +1,32 @@ +# Description: Outil indispensable pour l'installation et la recherches des ports +# URL: http://jw.smts.ch/files/crux/prt-get_quickstart.html +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch + +name=prt-get +version=5.18 +release=5 +source=(http://jw.smts.ch/files/crux/prt-get-$version.tar.gz + prt-get.diff prt-get.conf prt-get.aliases) + +build() { + cd ${name}-${version} + patch -p1 -i $SRC/$name.diff +case `uname -m` in + x86_64) + sed -i "s/\.footprint/\.footprint\.x86_64/" src/prtget.cpp;; + + i?86) + sed -i "s/\.footprint/\.footprint\.i686/" src/prtget.cpp;; +esac + + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man + make + make DESTDIR=$PKG install + + install -m 644 $SRC/prt-get.conf $PKG/etc/ + install -D -m 644 $SRC/prt-get.aliases $PKG/var/lib/pkg/prt-get.aliases +} + |