void-packages/srcpkgs/obexftp/template

65 lines
1.6 KiB
Plaintext

# Template file for 'obexftp'
pkgname=obexftp
version=0.24
revision=1
wrksrc=${pkgname}-${version}-Source
build_style=cmake
configure_args="-DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_SBINDIR=bin"
hostmakedepends="pkg-config cmake"
makedepends="openobex-devel fuse-devel libbluetooth-devel"
short_desc="OBEX transfer utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://dev.zuckschwerdt.org/openobex/wiki/ObexFtp"
distfiles="${SOURCEFORGE_SITE}/openobex/${pkgname}-${version}-Source.tar.gz"
checksum=b907965608bf0e60c69bc45f074ce1a2ffeb809b4502a7082c6d95e3c73dfe6b
libbfb_package() {
short_desc="bfb protocol library"
pkg_install() {
vmove "usr/lib/libbfb.so.*"
}
}
libbfb-devel_package() {
short_desc="bfb protocol library - development files"
depends="libbfb>=${version}_${revision}"
pkg_install() {
vmove usr/include/bfb
vmove usr/lib/libbfb.so
}
}
libmulticobex_package() {
short_desc="Multi-protocol cable OBEX library"
pkg_install() {
vmove "usr/lib/libmulticobex.so.*"
}
}
libmulticobex-devel_package() {
short_desc="Multi-protocol cable OBEX library - development files"
depends="libmulticobex>=${version}_${revision}"
pkg_install() {
vmove usr/include/multicobex
vmove usr/lib/libmulticobex.so
}
}
libobexftp_package() {
short_desc="OBject EXchange file transfer library"
pkg_install() {
vmove "usr/lib/libobexftp.so.*"
}
}
libobexftp-devel_package() {
short_desc="OBject EXchange file transfer library - development files"
depends="libmulticobex-devel>=${version}_${revision} libobexftp>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}