2014-03-21 14:58:24 +00:00
|
|
|
# Template file for 'wxWidgets'
|
|
|
|
pkgname="wxWidgets"
|
|
|
|
version="2.8.12"
|
2014-05-09 15:57:03 +00:00
|
|
|
revision=4
|
2014-03-21 14:58:24 +00:00
|
|
|
build_style=gnu-configure
|
2014-03-21 16:16:32 +00:00
|
|
|
short_desc="Cross-Platform GUI Library"
|
2014-03-21 14:58:24 +00:00
|
|
|
maintainer="Martin Riese <grauehaare@gmx.de>"
|
|
|
|
license="wxWindows Library Licence"
|
|
|
|
homepage="http://www.wxwidgets.org/"
|
2014-03-21 15:18:29 +00:00
|
|
|
hostmakedepends="pkg-config"
|
2014-05-09 15:57:03 +00:00
|
|
|
makedepends="gtk+-devel libjpeg-turbo-devel tiff-devel libSM-devel libXinerama-devel libmspack-devel SDL-devel glu-devel"
|
2014-03-21 16:16:32 +00:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/wxwindows/${version}/${pkgname}-${version}.tar.bz2"
|
2014-03-21 14:58:24 +00:00
|
|
|
checksum="3b0ac1d2d017683851841501c8e1b744b97242d684a1668ded61809b0504f707"
|
2014-05-09 15:57:03 +00:00
|
|
|
configure_args="--enable-unicode --with-opengl --with-sdl"
|
2014-03-21 14:58:24 +00:00
|
|
|
|
|
|
|
wxWidgets-devel_package() {
|
2014-03-21 16:16:32 +00:00
|
|
|
conflicts="wxGTK-devel>=0"
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
2014-03-21 14:58:24 +00:00
|
|
|
vmove usr/include
|
2014-03-21 15:50:08 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2014-03-21 14:58:24 +00:00
|
|
|
vmove usr/share
|
2014-03-21 16:16:32 +00:00
|
|
|
vmove usr/bin
|
|
|
|
vmove usr/lib/wx
|
|
|
|
}
|
2014-03-21 14:58:24 +00:00
|
|
|
}
|