libdbus-c++: add nocross

This commit is contained in:
Duncaen 2015-05-15 21:20:49 +02:00
parent 7b3bc45669
commit 0750fba111

View file

@ -1,9 +1,9 @@
# Template file for 'libdbus-c++' # Template file for 'libdbus-c++'
pkgname=libdbus-c++ pkgname=libdbus-c++
version=0.9.0 version=0.9.0
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-static --enable-glib --disable-ecore" configure_args="--enable-glib --disable-ecore"
hostmakedepends="autoconf automake pkg-config" hostmakedepends="autoconf automake pkg-config"
makedepends="dbus-devel glib-devel" makedepends="dbus-devel glib-devel"
short_desc="A C++ API for D-BUS" 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" distfiles="${SOURCEFORGE_SITE}/dbus-cplusplus/$pkgname-$version.tar.gz"
checksum=bc11ac297b3cb010be904c72789695543ee3fdf3d75cdc8225fd371385af4e61 checksum=bc11ac297b3cb010be904c72789695543ee3fdf3d75cdc8225fd371385af4e61
LDFLAGS+="-lexpat -lpthread" LDFLAGS+="-lexpat -lpthread"
nocross=yes
libdbus-c++-devel_package() { libdbus-c++-devel_package() {
short_desc+=" - development files" short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision}" depends="${sourcepkg}-${version}_${revision}"
pkg_install() { pkg_install() {
vmove usr/include vmove usr/include
vmove usr/lib/*.so vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig vmove usr/lib/pkgconfig
} }
} }