summaryrefslogtreecommitdiffstats
path: root/extra/wxgtk/Pkgfile
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2010-12-30 13:48:02 +0100
committersibel <lesibel@free.fr>2010-12-30 13:48:02 +0100
commitd74218718679c7d7a89afc9964a3627879d70ebd (patch)
tree2619d16189a6a89899b892f55818f5cc2be39a83 /extra/wxgtk/Pkgfile
parenta88d29f844bb36b65a38da6704935eac99b5b3dd (diff)
downloadnutyx-extra-d74218718679c7d7a89afc9964a3627879d70ebd.tar.gz
nutyx-extra-d74218718679c7d7a89afc9964a3627879d70ebd.tar.bz2
nutyx-extra-d74218718679c7d7a89afc9964a3627879d70ebd.tar.xz
nutyx-extra-d74218718679c7d7a89afc9964a3627879d70ebd.zip
wxgtk#2.8.10-1, correction port
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