diff options
Diffstat (limited to 'extra/gtk1/Pkgfile')
-rwxr-xr-x | extra/gtk1/Pkgfile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/extra/gtk1/Pkgfile b/extra/gtk1/Pkgfile new file mode 100755 index 000000000..1e4e93bcb --- /dev/null +++ b/extra/gtk1/Pkgfile @@ -0,0 +1,30 @@ +# Description: Librairie GTK+, utiliser dans des applications graphiques +# URL: http://gd.tuwien.ac.at/graphics +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: glib1,xorg + +name=gtk1 +version=1.2.10 +release=1 +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 +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 \ + --with-xinput=xfree + make + make DESTDIR=$PKG install + rm $PKG/usr/share/info/dir +} |