summaryrefslogtreecommitdiffstats
path: root/extra/gtk1/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2009-12-18 19:28:14 +0100
committertnut <thierryn1 at hispeed dot ch>2009-12-18 19:28:14 +0100
commit5bda4eb89f48edc0223374a6186eb68e852c4509 (patch)
tree2c1e337ee61a80b73713c15c6b97315ce733377d /extra/gtk1/Pkgfile
parent1754245c558c4cdad50d815551adfdb94b75f568 (diff)
downloadnutyx-extra-5bda4eb89f48edc0223374a6186eb68e852c4509.tar.gz
nutyx-extra-5bda4eb89f48edc0223374a6186eb68e852c4509.tar.bz2
nutyx-extra-5bda4eb89f48edc0223374a6186eb68e852c4509.tar.xz
nutyx-extra-5bda4eb89f48edc0223374a6186eb68e852c4509.zip
gtk1, déplacé dans extra
Diffstat (limited to 'extra/gtk1/Pkgfile')
-rwxr-xr-xextra/gtk1/Pkgfile30
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
+}