summaryrefslogtreecommitdiffstats
path: root/prt-get/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 /prt-get/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 'prt-get/Pkgfile')
-rw-r--r--prt-get/Pkgfile32
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
+}
+