#Packager:Richard Lapointe #Anything commented out is optional and can be deleted. pkgname=wxGTK pkgver=3.0.2 pkgrel=1rl #arch=noarch source=("http://downloads.sourceforge.net/wxwindows/wxWidgets-${pkgver}.tar.bz2") sourcetemplate=("http://people.salixos.org/laprjns/$pkgname/$pkgver/") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url="https://www.wxwidgets.org/" #dotnew=() #CFLAGS= #CXXFLAGS= #options=('noextract') #doinst() { # #} slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (wxWidgets toolkit for GTK)" "wxWidgets lets developers create applications for Win32, Mac OS X," "GTK+, X11, Motif, WinCE, and more using one codebase. It can be used" "from languages such as C++, Python, Perl, and C#/.NET. Unlike other" "cross-platform toolkits, wxWidgets applications look and feel native." "This is because wxWidgets uses the platform's own native controls" "rather than emulating them. It's also extensive, free, open-source," ) build() { cd $startdir/src/wxWidgets-$pkgver ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --enable-shared \ --enable-mediactrl \ --with-opengl \ --enable-graphics_ctx \ --with-gtk=2 \ --enable-unicode \ --enable-plugins \ --enable-ipv6 \ --build=$arch-slackware-linux || return 1 make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg || return 1 }