summaryrefslogtreecommitdiffstats
path: root/base/newt/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2011-03-10 17:46:46 +0100
committertnut <thierryn1 at hispeed dot ch>2011-03-10 17:46:46 +0100
commit035bb8c0fe240cc0d83911f92b4dea16e437343e (patch)
tree67a9f624a5e7e9d35ea2dde0bffbcf0410da10b9 /base/newt/Pkgfile
parentf91d9aa4830a8495b168e171d4eaf643b856fba4 (diff)
downloadnutyx-extra-035bb8c0fe240cc0d83911f92b4dea16e437343e.tar.gz
nutyx-extra-035bb8c0fe240cc0d83911f92b4dea16e437343e.tar.bz2
nutyx-extra-035bb8c0fe240cc0d83911f92b4dea16e437343e.tar.xz
nutyx-extra-035bb8c0fe240cc0d83911f92b4dea16e437343e.zip
newt, pas de dépendances
Diffstat (limited to 'base/newt/Pkgfile')
-rw-r--r--base/newt/Pkgfile25
1 files changed, 25 insertions, 0 deletions
diff --git a/base/newt/Pkgfile b/base/newt/Pkgfile
new file mode 100644
index 000000000..00ed3aee0
--- /dev/null
+++ b/base/newt/Pkgfile
@@ -0,0 +1,25 @@
+# Description: Librairie graphique pour mode texte
+# URL: "http://www.redhat.com"
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+
+name=newt
+version=0.52.12
+release=1
+
+source=(https://fedorahosted.org/releases/n/e/$name/$name-$version.tar.gz )
+
+build() {
+ cd ${name}-$version
+
+ sed -i "s:tcl8.4:tcl8.5:" Makefile.in
+ sed -i "s:#!/usr/bin/python:#!/usr/bin/python2:" *.py
+# sed -i "s:/usr/bin/install:/bin/install:" po/Makefile
+ sed -i "s/python3.1//" po/Makefile
+
+ ./configure --prefix=/usr --with-gpm-support
+ make
+ make prefix=$PKG/usr install
+}
+
+