summaryrefslogtreecommitdiffstats
path: root/extra/wxgtk/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/wxgtk/Pkgfile')
-rwxr-xr-xextra/wxgtk/Pkgfile23
1 files changed, 12 insertions, 11 deletions
diff --git a/extra/wxgtk/Pkgfile b/extra/wxgtk/Pkgfile
index fabe0af78..cacfdd019 100755
--- a/extra/wxgtk/Pkgfile
+++ b/extra/wxgtk/Pkgfile
@@ -2,30 +2,31 @@
# URL: http://wxwidgets.org
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
-# Depends on: gtk mesa3d
+# Depends on: gtk, mesa3d
name=wxgtk
version=2.8.10
release=1
-source=(http://downloads.sourceforge.net/wxwindows/wxGTK-${version}.tar.gz\
+source=(http://downloads.sourceforge.net/wxwindows/wxGTK-${version}.tar.bz2 \
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
+ --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