diff --git a/srcpkgs/libopenobex b/srcpkgs/libopenobex new file mode 120000 index 00000000000..10a32452401 --- /dev/null +++ b/srcpkgs/libopenobex @@ -0,0 +1 @@ +openobex \ No newline at end of file diff --git a/srcpkgs/libopenobex-devel b/srcpkgs/libopenobex-devel new file mode 120000 index 00000000000..10a32452401 --- /dev/null +++ b/srcpkgs/libopenobex-devel @@ -0,0 +1 @@ +openobex \ No newline at end of file diff --git a/srcpkgs/openobex/depends b/srcpkgs/openobex/depends new file mode 100644 index 00000000000..fb07b24d644 --- /dev/null +++ b/srcpkgs/openobex/depends @@ -0,0 +1,2 @@ +abi_depends=">=1.5" +api_depends="${abi_depends}" diff --git a/srcpkgs/openobex/libopenobex-devel.template b/srcpkgs/openobex/libopenobex-devel.template new file mode 100644 index 00000000000..e0571aaa8d6 --- /dev/null +++ b/srcpkgs/openobex/libopenobex-devel.template @@ -0,0 +1,20 @@ +# Template file for 'libopenobex-devel'. +# +short_desc="OBEX protocol library (development files)" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run glibc-devel +Add_dependency run libbluetooth-devel +Add_dependency run libusb-devel +Add_dependency run libopenobex + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/libopenobex.*a ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/libopenobex.so ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/openobex/libopenobex.template b/srcpkgs/openobex/libopenobex.template new file mode 100644 index 00000000000..1a0a0eb6152 --- /dev/null +++ b/srcpkgs/openobex/libopenobex.template @@ -0,0 +1,15 @@ +# Template file for 'libopenobex'. +# +short_desc="OBEX protocol library" +long_desc="${long_desc} + + This package contains the shared library provided by openobex." + +Add_dependency run glibc +Add_dependency run libusb + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/libopenobex.so.* ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/openobex/template b/srcpkgs/openobex/template new file mode 100644 index 00000000000..43678eab957 --- /dev/null +++ b/srcpkgs/openobex/template @@ -0,0 +1,24 @@ +# Template file for 'openobex' +pkgname=openobex +version=1.5 +distfiles="${KERNEL_SITE}/bluetooth/$pkgname-$version.tar.bz2" +build_style=gnu_configure +configure_args="--enable-apps --enable-irda --enable-bluetooth --enable-usb" +short_desc="OpenOBEX applications" +maintainer="Juan RP " +checksum=13996a1e3c69d857f1c7b1d0d9f1c674ccd395355dcae1442a91386b4d75254c +long_desc=" + The Object Exchange protocol can best be described as binary HTTP. OBEX + is optimised for ad-hoc wireless links and can be used to exchange all kind + of objects like files, pictures, calendar entries (vCal) and business cards + (vCard). + + OBEX is builtin in devices like PDA's like the Palm Pilot, and mobile phones + like the Ericsson R320, Siemens S25, Siemens S45, Siemens ME45, Nokia NM207 + and Nokia 9110 Communicator." + +subpackages="libopenobex libopenobex-devel" +Add_dependency full glibc +Add_dependency full libusb +Add_dependency full libbluetooth +Add_dependency run libopenobex