summaryrefslogtreecommitdiff
path: root/wxgtk/Pkgfile
blob: b48fecec7e0c741db4dd915e0826c7c237981bb3 (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.6.4
    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 --prefix=/usr \
   17 		--enable-gtk2 \
   18 		--with-opengl
   19 	make
   20 	make prefix=$PKG/usr install
   21 	ln -sf /usr/lib/wx/config/gtk2-ansi-release-2.6 $PKG/usr/bin/wx-config
   22 	rm -rf $PKG/usr/share/locale
   23 }

Generated by cgit