2011-09-21 11:21:22 +02:00
|
|
|
# Description: wxWidgets for GTK+.
|
|
|
|
# URL: http://www.wxwidgets.org/
|
|
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
|
|
|
# Packager: Antti Nykanen, aon at iki dot fi
|
2012-11-18 13:35:47 +01:00
|
|
|
# Depends on: glitz gtk glu
|
2011-09-21 11:21:22 +02:00
|
|
|
|
|
|
|
name=wxgtk
|
2012-11-18 13:54:33 +01:00
|
|
|
version=2.8.12.1
|
2011-09-21 11:21:22 +02:00
|
|
|
release=1
|
2012-11-18 13:54:33 +01:00
|
|
|
#source=(http://downloads.sourceforge.net/project/wxwindows/$version/wxGTK-$version.tar.bz2)
|
|
|
|
source=(http://downloads.sourceforge.net/project/wxpython/wxPython/$version/wxPython-src-$version.tar.bz2)
|
2011-09-21 11:21:22 +02:00
|
|
|
|
|
|
|
build() {
|
2012-11-18 13:54:33 +01:00
|
|
|
# cd wxGTK-$version
|
|
|
|
cd wxPython-src-$version
|
2011-09-21 11:21:22 +02:00
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2012-11-18 13:54:33 +01:00
|
|
|
--libdir=/usr/lib \
|
|
|
|
--with-gtk=2 \
|
|
|
|
--with-opengl \
|
2011-09-21 11:21:22 +02:00
|
|
|
--enable-unicode \
|
2012-11-18 13:54:33 +01:00
|
|
|
--disable-precomp-headers
|
2011-09-21 11:21:22 +02:00
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
2012-11-18 13:54:33 +01:00
|
|
|
cd contrib/src
|
2011-09-21 11:21:22 +02:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
ln -sf /usr/lib/wx/config/gtk2-unicode-release-${version%.*} \
|
|
|
|
$PKG/usr/bin/wx-config
|
|
|
|
|
|
|
|
rm -r \
|
|
|
|
$PKG/usr/share/locale \
|
|
|
|
$PKG/usr/share/bakefile
|
|
|
|
}
|