From ae59d115500ed688fa4378b0b49be39a73c602d9 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 12 Apr 2011 11:17:25 +0200 Subject: [PATCH] obexd: add client subpkg. --- srcpkgs/obexd-client | 1 + srcpkgs/obexd/obexd-client.template | 21 +++++++++++++++++++++ srcpkgs/obexd/template | 9 +++++++-- 3 files changed, 29 insertions(+), 2 deletions(-) create mode 120000 srcpkgs/obexd-client create mode 100644 srcpkgs/obexd/obexd-client.template diff --git a/srcpkgs/obexd-client b/srcpkgs/obexd-client new file mode 120000 index 0000000000..41de5226af --- /dev/null +++ b/srcpkgs/obexd-client @@ -0,0 +1 @@ +obexd \ No newline at end of file diff --git a/srcpkgs/obexd/obexd-client.template b/srcpkgs/obexd/obexd-client.template new file mode 100644 index 0000000000..d8e077ce54 --- /dev/null +++ b/srcpkgs/obexd/obexd-client.template @@ -0,0 +1,21 @@ +# Template file for 'obexd-client'. +# +short_desc="${short_desc} - client" +long_desc="${long_desc} + + This package contains the client implementation." + +Add_dependency run glibc +Add_dependency run glib +Add_dependency run dbus-libs +Add_dependency run libbluetooth +Add_dependency run libopenobex + +do_install() +{ + install -d ${DESTDIR}/usr/libexec + install -d ${DESTDIR}/usr/share/dbus-1/services + mv ${SRCPKGDESTDIR}/usr/libexec/obex-client ${DESTDIR}/usr/libexec + mv ${SRCPKGDESTDIR}/usr/share/dbus-1/services/obex-client.service \ + ${DESTDIR}/usr/share/dbus-1/services +} diff --git a/srcpkgs/obexd/template b/srcpkgs/obexd/template index 1ba3e91f3a..202d4ae171 100644 --- a/srcpkgs/obexd/template +++ b/srcpkgs/obexd/template @@ -1,15 +1,20 @@ # Template file for 'obexd' pkgname=obexd version=0.40 +revision=1 distfiles="${KERNEL_SITE}/bluetooth/$pkgname-$version.tar.bz2" build_style=gnu_configure -short_desc="D-Bus OBEX client/server" +short_desc="D-Bus OBEX service" maintainer="Juan RP " checksum=716b96547cf58dd92765b08132177a7168bf07c09d7533fca55c6d86ef74278b long_desc=" Implementation of OBEX client and server as a D-Bus service providing - high-level functionality." + high-level functionality. + For the client part install the obexd-client package, this package + contains the server." + +subpackages="obexd-client" conflicts="obex-data-server>=0" Add_dependency run glibc