Install the libogg headers into the correct place in staging.
openobex_1.0.0.oe:
Install the openobex m4 macros in the stage target.
BKrev: 3fb95619Np1CTozA2YuIPW4ZMUOmDg
ln -sf libogg.so.0.4.0 ${STAGING_LIBDIR}/libogg.so.0
ln -sf libogg.so.0.4.0 ${STAGING_LIBDIR}/libogg.so
- install -d ${STAGING_LIBDIR}/ogg
- (cd include/ogg; cp config_types.h ogg.h os_types.h ${STAGING_LIBDIR}/ogg/)
+ install -d ${STAGING_DIR}/target/include/ogg
+ (cd include/ogg; cp config_types.h ogg.h os_types.h ${STAGING_DIR}/target/include/ogg/)
install -d ${STAGING_DIR}/share/aclocal
install -m 0644 ogg.m4 ${STAGING_DIR}/share/aclocal/ogg.m4
inherit autotools
-#EXTRA_OECONF = --disable-ltdl-install
do_configure_prepend () {
./bootstrap
}
+DEPENDS = virtual/libc
+RDEPENDS = libc6
+
+SRC_URI = ${SOURCEFORGE_MIRROR}/openobex/${P}.tar.gz
+S = ${WORKDIR}/${P}
+
+inherit autotools libtool
+
+do_stage () {
+ install -m 0755 src/.libs/libopenobex* ${STAGING_LIBDIR}/
+ install -d ${STAGING_DIR}/target/include/openobex
+ install -m 0644 src/obex_const.h src/obex.h ${STAGING_DIR}/target/include/openobex/
+ install -m 0755 openobex-config ${STAGING_BINDIR}/
+ install -m 0644 m4macros/openobex.m4 ${STAGING_DIR}/share/aclocal/
+}