summaryrefslogtreecommitdiffstats
path: root/extra/wxgtk/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-16 21:05:50 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-16 21:05:50 +0200
commite5fbb6ab58ea813f093618d44bb47ac68b07b41d (patch)
tree7b9a5bea93402492880303045aa2c49d2aff8c66 /extra/wxgtk/Pkgfile
parent61951a8bfebebb342e60d31461a99727afc799f0 (diff)
downloadnutyx-pakxe-e5fbb6ab58ea813f093618d44bb47ac68b07b41d.tar.gz
nutyx-pakxe-e5fbb6ab58ea813f093618d44bb47ac68b07b41d.tar.bz2
nutyx-pakxe-e5fbb6ab58ea813f093618d44bb47ac68b07b41d.tar.xz
nutyx-pakxe-e5fbb6ab58ea813f093618d44bb47ac68b07b41d.zip
Ajout de wxgtk#2.8.10-1
Diffstat (limited to 'extra/wxgtk/Pkgfile')
-rwxr-xr-xextra/wxgtk/Pkgfile35
1 files changed, 35 insertions, 0 deletions
diff --git a/extra/wxgtk/Pkgfile b/extra/wxgtk/Pkgfile
new file mode 100755
index 000000000..d94496617
--- /dev/null
+++ b/extra/wxgtk/Pkgfile
@@ -0,0 +1,35 @@
+# Description: wxGTK - GTK+ implementation of wxWidgets API for GUI
+# URL: http://wxwidgets.org
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: gtk mesa3d
+
+name=wxgtk
+version=2.8.10
+release=1
+source=(http://downloads.sourceforge.net/wxwindows/wxGTK-${version}.tar.gz\
+ overflow.patch glib-2.21.patch)
+
+
+build() {
+ # build package
+ export LDFLAGS="$LDFLAGS -L/usr/X11R6/lib"
+ cd wxGTK-$version
+ patch -p4 < ../overflow.patch
+ patch -Np1 -i ../glib-2.21.patch
+ ./configure --prefix=/usr\
+ --with-gtk=2 \
+ --libdir=/usr/lib \
+ --with-opengl \
+ --enable-unicode \
+ --without-gnomeprint \
+ --disable-optimize \
+ --mandir=/usr/share/man\
+ --infodir=/usr/share/info
+ make -j3
+ make DESTDIR=$PKG install
+ cd contrib
+ make
+ make prefix=$PKG/usr install
+ ln -sf /usr/lib/wx/config/gtk2-unicode-release-2.8 $PKG/usr/bin/wx-config
+}