summaryrefslogtreecommitdiff
path: root/wxgtk/Pkgfile
blob: e99c787eac133ebeb437158c61a778d97a1a4ffd (plain)
    1 # Description: wxWidgets for GTK+
    2 # URL: http://www.wxwindows.org/
    3 # Maintainer: Antti Nykanen, aon at iki dot fi
    4 # Depends on: gtk
    5 
    6 name=wxgtk
    7 version=2.8.9
    8 release=1
    9 source=(http://dl.sf.net/wxwindows/wxGTK-$version.tar.bz2)
   10 # alternate mirror
   11 # ftp://biolpc22.york.ac.uk/pub/$version/wxGTK-$version.tar.bz2
   12 
   13 build() {
   14 	export LDFLAGS="$LDFLAGS -L/usr/X11R6/lib"
   15 	cd wxGTK-$version
   16 	./configure \
   17 		--prefix=/usr \
   18 		--enable-gtk2 \
   19 		--enable-unicode \
   20 		--with-opengl
   21 	make
   22 	make prefix=$PKG/usr install
   23 	cd contrib
   24 	make
   25 	make prefix=$PKG/usr install
   26 	ln -sf /usr/lib/wx/config/gtk2-unicode-release-2.8 $PKG/usr/bin/wx-config
   27 	rm -rf $PKG/usr/share/locale $PKG/usr/share/bakefile
   28 }

Generated by cgit