void-packages/srcpkgs/wxGTK/template

45 lines
1.4 KiB
Text
Raw Normal View History

2012-03-31 01:19:07 +00:00
# Template build file for 'wxGTK'
pkgname=wxGTK
version=2.8.12.1
2014-08-26 19:11:46 +00:00
revision=7
2012-03-31 01:19:07 +00:00
wrksrc="wxPython-src-${version}"
2014-06-02 16:00:02 +00:00
build_style=gnu-configure
configure_args="--enable-monolithic --with-gtk=2 --with-x --with-opengl
--enable-unicode --enable-graphics_ctx --enable-optimize --enable-mediactrl
--with-regex=builtin --with-libpng=sys --with-libxpm=sys --with-libjpeg=sys
--with-libtiff=sys --disable-precomp-headers"
hostmakedepends="pkg-config"
makedepends="zlib-devel libpng-devel>=1.6 libjpeg-turbo-devel
2013-04-30 15:02:26 +00:00
libXpm-devel tiff-devel expat-devel libXinerama-devel libSM-devel libXt-devel
2014-08-26 19:11:46 +00:00
GConf-devel gtk+-devel glu-devel gst-plugins-base-devel"
short_desc="The wxWidgets GUI toolkit library (version 2)"
2014-06-02 16:00:02 +00:00
maintainer="Juan RP <xtraeme@gmail.com>"
2012-03-31 01:19:07 +00:00
homepage="http://www.wxwidgets.org/"
license="wxWindows"
2014-11-25 20:28:28 +00:00
update_pkgname=wxPython
2012-06-06 11:42:39 +00:00
distfiles="${SOURCEFORGE_SITE}/wxpython/wxPython-src-${version}.tar.bz2"
2012-03-31 01:19:07 +00:00
checksum=1f3f153d9f1504c6ce2d2c4b23e940b8f58b81f4cba35cda1a5bb31142243cd0
2014-06-02 16:00:02 +00:00
post_build() {
2012-03-31 01:19:07 +00:00
make ${makejobs}
make ${makejobs} -C locale allmo
make ${makejobs} -C contrib/src
}
2014-06-02 16:00:02 +00:00
post_install() {
2012-03-31 01:19:07 +00:00
make -C contrib/src DESTDIR="${DESTDIR}" install
vinstall docs/licence.txt 0644 "usr/share/licenses/${pkgname}" LICENSE
}
wxGTK-devel_package() {
2014-06-02 16:00:02 +00:00
depends="${sourcepkg}>=${version}_${revision}"
2013-04-30 10:02:30 +00:00
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove usr/share/aclocal
vmove usr/share/bakefile
vmove usr/lib/wx
vmove usr/bin
2014-06-02 16:00:02 +00:00
vmove usr/lib/*.so
}
}