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