void-packages/srcpkgs/gtkmm2/template

32 lines
933 B
Text
Raw Normal View History

# Template build file for 'gtkmm'.
pkgname=gtkmm2
2013-06-29 04:44:45 +00:00
version=2.24.4
2014-02-17 10:30:18 +00:00
revision=2
wrksrc=gtkmm-${version}
build_style=gnu-configure
configure_args="--disable-static --disable-documentation"
2013-05-13 18:20:03 +00:00
hostmakedepends="pkg-config"
makedepends="gtk+-devel libsigc++-devel atkmm-devel pangomm-devel libXcursor-devel"
short_desc="C++ bindings for The GTK+ toolkit (v2)"
homepage="http://www.gtkmm.org/"
update_pkgname="gtkmm"
license="LGPL-2.1"
maintainer="Juan RP <xtraeme@gmail.com>"
2013-05-13 18:20:03 +00:00
distfiles="${GNOME_SITE}/gtkmm/2.24/gtkmm-$version.tar.xz"
2013-06-29 04:44:45 +00:00
checksum=443a2ff3fcb42a915609f1779000390c640a6d7fd19ad8816e6161053696f5ee
pre_install() {
sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile
}
gtkmm2-devel_package() {
depends="glibmm-devel atkmm-devel pangomm-devel gtk+-devel gtkmm2-${version}_${revision}"
2013-05-13 18:20:03 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/g*"
2013-06-29 04:44:45 +00:00
vmove "usr/lib/*.so"
}
}