summaryrefslogtreecommitdiffstats
path: root/newt/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
committertnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
commit3f57a7f93b3e7550cbd73036f6a56654e17d1d5c (patch)
tree819b14ab0377fe2054fe59866669d904e9e0b4b5 /newt/Pkgfile
parentc9972ec7f32bf9d37388e853fe9bf633e242d05a (diff)
downloadnutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.gz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.bz2
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.xz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.zip
split de git pakxe et NuTyX-extra
Diffstat (limited to 'newt/Pkgfile')
-rw-r--r--newt/Pkgfile27
1 files changed, 27 insertions, 0 deletions
diff --git a/newt/Pkgfile b/newt/Pkgfile
new file mode 100644
index 000000000..161a7d6c0
--- /dev/null
+++ b/newt/Pkgfile
@@ -0,0 +1,27 @@
+# Description: Librairie graphique pour mode texte
+# URL: "http://www.redhat.com"
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on:slang
+# Run on:slang
+
+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
+}
+
+