openobex: fix cross compile

This commit is contained in:
Enno Boland 2014-11-08 12:18:56 +01:00
parent 26682d2b86
commit e547b2fcae

View file

@ -1,7 +1,7 @@
# Template file for 'openobex'
pkgname=openobex
version=1.7.1
revision=4
revision=5
wrksrc="${pkgname}-${version}-Source"
build_style=cmake
hostmakedepends="pkg-config cmake libxslt docbook-xsl"
@ -16,6 +16,7 @@ checksum=3b264665d90901ea4ff720332ffb9b6d1d8f67187463d3a3279caddc7205ea57
pre_configure() {
sed -i 's|MODE="660", GROUP="plugdev"|TAG+="uaccess"|' udev/openobex.rules.in
sed -i 's|^project ( openobex \(C.*\) )|project ( openobex \1 CXX )|' CMakeLists.txt
}
openobex-devel_package() {