summaryrefslogtreecommitdiffstats
path: root/wxgtk/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
committertnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
commit3f57a7f93b3e7550cbd73036f6a56654e17d1d5c (patch)
tree819b14ab0377fe2054fe59866669d904e9e0b4b5 /wxgtk/Pkgfile
parentc9972ec7f32bf9d37388e853fe9bf633e242d05a (diff)
downloadnutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.gz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.bz2
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.xz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.zip
split de git pakxe et NuTyX-extra
Diffstat (limited to 'wxgtk/Pkgfile')
-rwxr-xr-xwxgtk/Pkgfile38
1 files changed, 38 insertions, 0 deletions
diff --git a/wxgtk/Pkgfile b/wxgtk/Pkgfile
new file mode 100755
index 000000000..72259bb23
--- /dev/null
+++ b/wxgtk/Pkgfile
@@ -0,0 +1,38 @@
+# 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
+# Run on: gtk,mesa3d
+
+name=wxgtk
+version=2.8.10
+release=1
+source=(http://downloads.sourceforge.net/wxwindows/wxGTK-${version}.tar.bz2 \
+ overflow.patch glib-2.21.patch)
+
+
+build() {
+ 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
+ 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
+}
+