summaryrefslogtreecommitdiffstats
path: root/wxgtk/Pkgfile
blob: b3a1b4d2189e0bf54bd51d9cb64ac7b44a8d9ddf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# 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.12
release=1
source=(http://downloads.sourceforge.net/wxwindows/wxGTK-${version}.tar.bz2)

build() {
	cd wxGTK-$version
	./configure --prefix=/usr\
		--with-gtk=2 \
		--with-opengl \
		--enable-unicode \
		--without-gnomeprint
	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		
}