Merge openembedded@openembedded.bkbits.net:packages
authorChris Larson <clarson@kergoth.com>
Sat, 6 Mar 2004 20:28:51 +0000 (20:28 +0000)
committerChris Larson <clarson@kergoth.com>
Sat, 6 Mar 2004 20:28:51 +0000 (20:28 +0000)
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

obexftp/obexftp-0.10.3/m4.patch [new file with mode: 0644]
obexftp/obexftp_0.10.3.oe [new file with mode: 0644]
openobex-apps/openobex-apps_1.0.0.oe
openobex/openobex_1.0.1.oe

diff --git a/obexftp/obexftp-0.10.3/m4.patch b/obexftp/obexftp-0.10.3/m4.patch
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/obexftp/obexftp_0.10.3.oe b/obexftp/obexftp_0.10.3.oe
new file mode 100644 (file)
index 0000000..e69de29
index cb83f19..dbc7ca4 100644 (file)
@@ -10,11 +10,4 @@ SRC_URI = ${SOURCEFORGE_MIRROR}/openobex/openobex-apps-${PV}.tar.gz \
 inherit autotools libtool
 
 EXTRA_OECONF = --disable-glibtest --with-glib-prefix=${STAGING_DIR}/target
-export OPENOBEX_CFLAGS=-I${STAGING_DIR}/target/include
-export OPENOBEX_CONFIG = ${STAGING_BINDIR}/openobex-config \
-                        --prefix=${STAGING_DIR}/target \
-                        --exec-prefix=${STAGING_DIR}/target
-
-do_compile () {
-       oe_runmake 'INCLUDES='
-}
+EXTRA_OEMAKE = "'INCLUDES='"
index e69de29..bc997d5 100644 (file)
@@ -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
+}