diff options
author | Chris Larson <clarson@kergoth.com> | 2004-03-05 22:39:26 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-03-05 22:39:26 +0000 |
commit | 475367ce4a2a2ed837163f216a8c070783e5054b (patch) | |
tree | c3c65301e4ebd0c868b0174179f5d3ffbaf16276 /openobex-apps | |
parent | 1be282b573822d9bc8f11d59b3b5192f4948c249 (diff) |
Fix openobex-apps build.. its 1.0.0, not 1.0.1.
BKrev: 4049019eO1awdkq6auXeGlSua_xCTQ
Diffstat (limited to 'openobex-apps')
-rw-r--r-- | openobex-apps/openobex-apps-1.0.0/m4.patch | 64 | ||||
-rw-r--r-- | openobex-apps/openobex-apps-1.0.1/m4.patch | 0 | ||||
-rw-r--r-- | openobex-apps/openobex-apps_1.0.0.oe | 20 | ||||
-rw-r--r-- | openobex-apps/openobex-apps_1.0.1.oe | 0 |
4 files changed, 84 insertions, 0 deletions
diff --git a/openobex-apps/openobex-apps-1.0.0/m4.patch b/openobex-apps/openobex-apps-1.0.0/m4.patch new file mode 100644 index 0000000000..249074bf60 --- /dev/null +++ b/openobex-apps/openobex-apps-1.0.0/m4.patch @@ -0,0 +1,64 @@ + +# +# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher +# + +--- /dev/null 2003-09-23 18:19:32.000000000 -0400 ++++ openobex-apps-1.0.0/m4/openobex.m4 2004-01-26 18:48:04.000000000 -0500 +@@ -0,0 +1,56 @@ ++dnl Check for openobex library ++dnl Written by Pontus Fuchs 2000-08-18 ++dnl Version checking fixed by Christian W. Zuckschwerdt 2002-10-17 ++ ++AC_DEFUN([AM_PATH_OPENOBEX], [ ++ AC_PATH_PROG(OPENOBEX_CONFIG, openobex-config, no) ++ ++ if test "$OPENOBEX_CONFIG" = "no" ; then ++ AC_MSG_ERROR(openobex-config not found. Pehaps openobex is not installed.) ++ fi ++ ++ min_obex_version=ifelse([$1], ,0.9.6,$1) ++ AC_MSG_CHECKING(for openobex - version >= $min_obex_version) ++ ++ OPENOBEX_CFLAGS=`$OPENOBEX_CONFIG --cflags` ++ OPENOBEX_LIBS=`$OPENOBEX_CONFIG --libs` ++ ++ obex_config_version=`$OPENOBEX_CONFIG --version` ++ ++ obex_config_major_version=`$OPENOBEX_CONFIG --version | \ ++ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` ++ obex_config_minor_version=`$OPENOBEX_CONFIG --version | \ ++ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` ++ obex_config_micro_version=`$OPENOBEX_CONFIG --version | \ ++ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` ++ ++ obex_req_major_version=`echo $min_obex_version | \ ++ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` ++ obex_req_minor_version=`echo $min_obex_version | \ ++ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` ++ obex_req_micro_version=`echo $min_obex_version | \ ++ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` ++ ++ ++ if test $obex_req_major_version -lt $obex_config_major_version ; then ++ obex_config_version_ok="yes" ++ fi ++ if test $obex_req_major_version -eq $obex_config_major_version ; then ++ if test $obex_req_minor_version -lt $obex_config_minor_version ; then ++ obex_config_version_ok="yes" ++ fi ++ if test $obex_req_minor_version -eq $obex_config_minor_version ; then ++ if test $obex_req_micro_version -le $obex_config_micro_version ; then ++ obex_config_version_ok="yes" ++ fi ++ fi ++ fi ++ ++ if test "$obex_config_version_ok" != "yes" ; then ++ AC_MSG_ERROR(Installed openobex library too old ($obex_config_version)) ++ fi ++ ++ AC_SUBST(OPENOBEX_CFLAGS) ++ AC_SUBST(OPENOBEX_LIBS) ++ AC_MSG_RESULT(yes) ++]) diff --git a/openobex-apps/openobex-apps-1.0.1/m4.patch b/openobex-apps/openobex-apps-1.0.1/m4.patch deleted file mode 100644 index e69de29bb2..0000000000 --- a/openobex-apps/openobex-apps-1.0.1/m4.patch +++ /dev/null diff --git a/openobex-apps/openobex-apps_1.0.0.oe b/openobex-apps/openobex-apps_1.0.0.oe new file mode 100644 index 0000000000..cb83f19c4b --- /dev/null +++ b/openobex-apps/openobex-apps_1.0.0.oe @@ -0,0 +1,20 @@ +DESCRIPTION = Applications for OpenOBEX +SECTION = base +PRIORITY = optional +DEPENDS = virtual/libc openobex +RDEPENDS = libc6 libopenobex1 + +SRC_URI = ${SOURCEFORGE_MIRROR}/openobex/openobex-apps-${PV}.tar.gz \ + file://${FILESDIR}/m4.patch;patch=1 + +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=' +} diff --git a/openobex-apps/openobex-apps_1.0.1.oe b/openobex-apps/openobex-apps_1.0.1.oe deleted file mode 100644 index e69de29bb2..0000000000 --- a/openobex-apps/openobex-apps_1.0.1.oe +++ /dev/null |