summaryrefslogtreecommitdiffstats
path: root/base/prt-get/build
diff options
context:
space:
mode:
Diffstat (limited to 'base/prt-get/build')
-rw-r--r--base/prt-get/build27
1 files changed, 27 insertions, 0 deletions
diff --git a/base/prt-get/build b/base/prt-get/build
new file mode 100644
index 000000000..0ed75d41a
--- /dev/null
+++ b/base/prt-get/build
@@ -0,0 +1,27 @@
+# Description: Outil indispensable pour l'installation recherches des ports
+# URL: http://jw.smts.ch/files/crux/prt-get_quickstart.html
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: pkgutils
+
+name=prt-get
+version=5.16
+release=1
+source=(http://jw.smts.ch/files/crux/prt-get-$version.tar.gz
+ prt-get-$version-printf_regex.diff
+ prt-get.conf prt-get.aliases)
+
+build() {
+ cd ${name}-${version}
+ patch -p1 -i $SRC/prt-get-$version-printf_regex.diff
+
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/man
+ make
+ make install
+
+ install -m 644 $SRC/prt-get.conf /etc/
+ install -D -m 644 $SRC/prt-get.aliases /var/lib/pkg/prt-get.aliases
+}
+