libdbus-c++: add nocross

This commit is contained in:
Duncaen 2015-05-15 21:20:49 +02:00
parent 7b3bc45669
commit 0750fba111
1 changed files with 5 additions and 3 deletions

View File

@ -1,9 +1,9 @@
# Template file for 'libdbus-c++'
pkgname=libdbus-c++
version=0.9.0
revision=1
revision=2
build_style=gnu-configure
configure_args="--disable-static --enable-glib --disable-ecore"
configure_args="--enable-glib --disable-ecore"
hostmakedepends="autoconf automake pkg-config"
makedepends="dbus-devel glib-devel"
short_desc="A C++ API for D-BUS"
@ -13,13 +13,15 @@ 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/*.so
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}