summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-01-15 09:48:31 +0100
committersibel <lesibel@free.fr>2011-01-15 09:48:31 +0100
commit4875b4e0c493589adf69468935a5c403624d1376 (patch)
tree9f804ed76dec2f037df9e7bbfcd6aa3eb1906ad8
parent72bc4a7644b6d6fa90b2223aca9e9fe947e6ce70 (diff)
downloadnutyx-pakxe-4875b4e0c493589adf69468935a5c403624d1376.tar.gz
nutyx-pakxe-4875b4e0c493589adf69468935a5c403624d1376.tar.bz2
nutyx-pakxe-4875b4e0c493589adf69468935a5c403624d1376.tar.xz
nutyx-pakxe-4875b4e0c493589adf69468935a5c403624d1376.zip
newt, correction deps python2
-rw-r--r--extra/newt/.md5sum2
-rw-r--r--extra/newt/Pkgfile16
2 files changed, 12 insertions, 6 deletions
diff --git a/extra/newt/.md5sum b/extra/newt/.md5sum
index d5e30805c..2725f8422 100644
--- a/extra/newt/.md5sum
+++ b/extra/newt/.md5sum
@@ -1 +1 @@
-4b9a0685ecd180c42d2c4a5806e3fc52 newt-0.52.11.tar.gz
+51b04128d9e1bf000fa769c417b74486 newt-0.52.12.tar.gz
diff --git a/extra/newt/Pkgfile b/extra/newt/Pkgfile
index dd15b730a..547efa462 100644
--- a/extra/newt/Pkgfile
+++ b/extra/newt/Pkgfile
@@ -2,17 +2,23 @@
# URL: "http://www.redhat.com"
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
-# Depends on: slang, python
+# Depends on: slang, gpm
name=newt
-version=0.52.11
+version=0.52.12
release=1
-source=(http://kiao.no-ip.info/NuTyX/files/$name-$version.tar.gz)
+
+source=(https://fedorahosted.org/releases/n/e/$name/$name-$version.tar.gz )
build() {
-cd ${name}-$version
+ cd ${name}-$version
+
sed -i "s:tcl8.4:tcl8.5:" Makefile.in
- ./configure --prefix=/usr
+ 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
}