#Packager:Richard Lapointe #Anything commented out is optional and can be deleted. pkgname=wxGTK2 pkgver=2.8.12 pkgrel=1rl #arch=noarch source=("https://github.com/wxWidgets/wxWidgets/releases/download/v2.8.12/wxWidgets-2.8.12.tar.gz") 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 platforms own native controls" "rather than emulating them. Its also extensive, free, open-source," "and mature." "This package is built with GTK+2.0 and compatible with wxPython." ) 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 }