forked from ports/contrib
40 lines
911 B
Plaintext
40 lines
911 B
Plaintext
# 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
|
|
# Depends on: glitz gtk glu
|
|
|
|
name=wxgtk
|
|
version=2.8.12.1
|
|
release=3
|
|
#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)
|
|
|
|
build() {
|
|
# cd wxGTK-$version
|
|
cd wxPython-src-$version
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--libdir=/usr/lib \
|
|
--with-gtk=2 \
|
|
--with-opengl \
|
|
--enable-unicode \
|
|
--enable-graphics_ctx \
|
|
--disable-precomp-headers
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
cd contrib/src
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
ln -sf /usr/lib/wx/config/gtk2-unicode-release-${version:0:3} \
|
|
$PKG/usr/bin/wx-config
|
|
|
|
rm -r \
|
|
$PKG/usr/share/locale \
|
|
$PKG/usr/share/bakefile
|
|
}
|