summaryrefslogtreecommitdiffstats
path: root/extra/newt/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/newt/Pkgfile')
-rw-r--r--extra/newt/Pkgfile16
1 files changed, 11 insertions, 5 deletions
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
}