obexftp: avoid conflict with obexfs

This commit is contained in:
cr6git 2017-12-09 12:36:41 +01:00 committed by Enno Boland
parent 1e3fb08f8e
commit eca252ed55

View File

@ -1,7 +1,7 @@
# Template file for 'obexftp'
pkgname=obexftp
version=0.24.2
revision=1
revision=2
wrksrc=${pkgname}-${version}-Source
build_style=cmake
hostmakedepends="pkg-config"
@ -18,16 +18,19 @@ nocross="crctable needs to be built for the host"
post_install() {
# Do not require 'bluetooth', does not exist.
sed -i '/Requires:/s/bluetooth//' ${DESTDIR}/usr/lib/pkgconfig/obexftp.pc
# The 'obexfs' package already provides these files
rm -fv ${DESTDIR}/usr/bin/{obexautofs,obexfs}
}
libbfb_package() {
short_desc="bfb protocol library"
short_desc="BFB protocol library"
pkg_install() {
vmove "usr/lib/libbfb.so.*"
}
}
libbfb-devel_package() {
short_desc="bfb protocol library - development files"
short_desc="BFB protocol library - development files"
depends="libbfb-${version}_${revision}"
pkg_install() {
vmove usr/include/bfb