2009-12-03 01:27:13 +01:00
|
|
|
# Template file for 'openobex'
|
|
|
|
pkgname=openobex
|
2014-01-09 09:37:52 +01:00
|
|
|
version=1.7.1
|
2014-11-08 12:18:56 +01:00
|
|
|
revision=5
|
2014-01-09 09:37:52 +01:00
|
|
|
wrksrc="${pkgname}-${version}-Source"
|
|
|
|
build_style=cmake
|
|
|
|
hostmakedepends="pkg-config cmake libxslt docbook-xsl"
|
2014-11-02 19:13:30 +01:00
|
|
|
makedepends="libusb-devel libbluetooth-devel libudev-devel"
|
2014-01-09 09:37:52 +01:00
|
|
|
replaces="libopenobex>=0"
|
|
|
|
short_desc="OBEX protocol implementation"
|
2013-03-31 09:51:36 +02:00
|
|
|
homepage="http://dev.zuckschwerdt.org/openobex/"
|
|
|
|
license="LGPL-2"
|
2009-12-03 01:27:13 +01:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2014-01-09 09:37:52 +01:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}-${version}-Source.tar.gz"
|
|
|
|
checksum=3b264665d90901ea4ff720332ffb9b6d1d8f67187463d3a3279caddc7205ea57
|
2009-12-03 01:27:13 +01:00
|
|
|
|
2014-01-09 09:37:52 +01:00
|
|
|
pre_configure() {
|
2014-11-08 11:03:02 +01:00
|
|
|
sed -i 's|MODE="660", GROUP="plugdev"|TAG+="uaccess"|' udev/openobex.rules.in
|
2014-11-08 12:18:56 +01:00
|
|
|
sed -i 's|^project ( openobex \(C.*\) )|project ( openobex \1 CXX )|' CMakeLists.txt
|
2013-04-14 05:01:48 +02:00
|
|
|
}
|
|
|
|
|
2014-01-09 09:37:52 +01:00
|
|
|
openobex-devel_package() {
|
|
|
|
depends="libusb-devel ${sourcepkg}>=${version}_${revision}"
|
|
|
|
replaces="libopenobex-devel>=0"
|
|
|
|
short_desc+=" - development files"
|
2013-04-14 05:01:48 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-01-09 09:37:52 +01:00
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
vmove usr/lib/cmake
|
2013-04-14 05:01:48 +02:00
|
|
|
}
|
|
|
|
}
|