void-packages/srcpkgs/libdbus-c++/template
2015-05-15 21:23:15 +02:00

27 lines
788 B
Bash

# Template file for 'libdbus-c++'
pkgname=libdbus-c++
version=0.9.0
revision=2
build_style=gnu-configure
configure_args="--enable-glib --disable-ecore"
hostmakedepends="autoconf automake pkg-config"
makedepends="dbus-devel glib-devel"
short_desc="A C++ API for D-BUS"
maintainer="Duncaen <mail@duncano.de>"
license="LGPL-2"
homepage="http://dbus-cplusplus.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/dbus-cplusplus/$pkgname-$version.tar.gz"
checksum=bc11ac297b3cb010be904c72789695543ee3fdf3d75cdc8225fd371385af4e61
LDFLAGS+="-lexpat -lpthread"
nocross=yes
libdbus-c++-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}