summaryrefslogtreecommitdiffstats
path: root/base/gtk1/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-15 12:52:14 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-15 12:52:14 +0200
commit8393b1d254856b11049acb185d19ee6af7e8cda0 (patch)
tree5ad3c1d7810557a2fc70e1235c76a309d80b0bae /base/gtk1/Pkgfile
parent42f0cf570973b3ea64454135464c3642ffd2ded3 (diff)
downloadnutyx-extra-8393b1d254856b11049acb185d19ee6af7e8cda0.tar.gz
nutyx-extra-8393b1d254856b11049acb185d19ee6af7e8cda0.tar.bz2
nutyx-extra-8393b1d254856b11049acb185d19ee6af7e8cda0.tar.xz
nutyx-extra-8393b1d254856b11049acb185d19ee6af7e8cda0.zip
gtk1, maj pour la 64 bits
Diffstat (limited to 'base/gtk1/Pkgfile')
-rwxr-xr-xbase/gtk1/Pkgfile16
1 files changed, 12 insertions, 4 deletions
diff --git a/base/gtk1/Pkgfile b/base/gtk1/Pkgfile
index 77d2ae6ee..1e4e93bcb 100755
--- a/base/gtk1/Pkgfile
+++ b/base/gtk1/Pkgfile
@@ -7,15 +7,23 @@
name=gtk1
version=1.2.10
release=1
-source=( http://gd.tuwien.ac.at/graphics/gimp/gtk/v1.2/gtk+-$version.tar.gz)
-
+source=( http://gd.tuwien.ac.at/graphics/gimp/gtk/v1.2/gtk+-$version.tar.gz\
+ config.{guess,sub} aclocal-fixes.patch)
build() {
- cd gtk+-$version
+cd gtk+-$version
+if [ "`uname -m`" == "x86_64" ]; then
+ rm config.guess config.sub
+ cp ../config.guess config.guess
+ cp ../config.sub config.sub
+
+fi
+patch -Np0 -i ../aclocal-fixes.patch
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ --with-xinput=xfree
make
make DESTDIR=$PKG install
rm $PKG/usr/share/info/dir