Added openobex-1.5 build template.

--HG--
extra : convert_revision : bb3ae3e4e5a34bd558c1ef34eb627c396d4685b1
This commit is contained in:
Juan RP 2009-12-03 01:27:13 +01:00
parent 8c1411bc6f
commit 873dad0cf8
6 changed files with 63 additions and 0 deletions

1
srcpkgs/libopenobex Symbolic link
View File

@ -0,0 +1 @@
openobex

1
srcpkgs/libopenobex-devel Symbolic link
View File

@ -0,0 +1 @@
openobex

2
srcpkgs/openobex/depends Normal file
View File

@ -0,0 +1,2 @@
abi_depends=">=1.5"
api_depends="${abi_depends}"

View File

@ -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
}

View File

@ -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
}

24
srcpkgs/openobex/template Normal file
View File

@ -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 <xtraeme@gmail.com>"
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