summaryrefslogtreecommitdiff
path: root/openobex/openobex_1.0.1.oe
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-03-06 20:28:51 +0000
committerChris Larson <clarson@kergoth.com>2004-03-06 20:28:51 +0000
commit22bc50f8752ecbe69683cafe5683f98615f6d626 (patch)
treefe7d2931cab6765a6e2cb860950de0f9b3b448e2 /openobex/openobex_1.0.1.oe
parentdf228fa324f5d6bdad4db893a3b76e6b14501ced (diff)
Merge openembedded@openembedded.bkbits.net:packages
into zelda.tuxnami.org:/home/kergoth/code/packages 2004/03/06 05:29:55-05:00 local!kergoth Properly mangle openobex-config, clean up the openobex-apps .oe, and add obexftp 0.10.3. BKrev: 404a3483n7DVzfL3ApNApKNLl7FA1A
Diffstat (limited to 'openobex/openobex_1.0.1.oe')
-rw-r--r--openobex/openobex_1.0.1.oe18
1 files changed, 18 insertions, 0 deletions
diff --git a/openobex/openobex_1.0.1.oe b/openobex/openobex_1.0.1.oe
index e69de29bb2..bc997d51ba 100644
--- a/openobex/openobex_1.0.1.oe
+++ b/openobex/openobex_1.0.1.oe
@@ -0,0 +1,18 @@
+DEPENDS = virtual/libc
+RDEPENDS = libc6
+
+SRC_URI = ${SOURCEFORGE_MIRROR}/openobex/${P}.tar.gz
+
+inherit autotools libtool
+
+do_stage () {
+ oe_soinstall src/.libs/libopenobex-1.0.so.1.0.0 ${STAGING_LIBDIR}/
+ ln -sf libopenobex-1.0.so.1.0.0 ${STAGING_LIBDIR}/libopenobex.so
+ install -m 0755 src/.libs/libopenobex.a ${STAGING_LIBDIR}/libopenobex.a
+ install -m 0755 src/.libs/libopenobex.lai ${STAGING_LIBDIR}/libopenobex.la
+ install -d ${STAGING_DIR}/target/include/openobex
+ install -m 0644 src/obex_const.h src/obex.h ${STAGING_DIR}/target/include/openobex/
+ cat openobex-config | sed -e 's,/usr/include,${STAGING_INCDIR},g; \
+ s,/usr,${STAGING_LIBDIR}/..,g;' > ${STAGING_BINDIR}/openobex-config
+ chmod a+rx ${STAGING_BINDIR}/openobex-config
+}