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
1 changed files with 6 additions and 3 deletions

View File

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