summaryrefslogtreecommitdiff
path: root/packages/gnokii
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/gnokii
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/gnokii')
-rw-r--r--packages/gnokii/.mtn2git_empty0
-rw-r--r--packages/gnokii/gnokii/.mtn2git_empty0
-rw-r--r--packages/gnokii/gnokii/configure.patch21
-rw-r--r--packages/gnokii/gnokii_0.6.4.bb25
4 files changed, 46 insertions, 0 deletions
diff --git a/packages/gnokii/.mtn2git_empty b/packages/gnokii/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/gnokii/.mtn2git_empty
diff --git a/packages/gnokii/gnokii/.mtn2git_empty b/packages/gnokii/gnokii/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/gnokii/gnokii/.mtn2git_empty
diff --git a/packages/gnokii/gnokii/configure.patch b/packages/gnokii/gnokii/configure.patch
index e69de29bb2..0cc3cb4a6b 100644
--- a/packages/gnokii/gnokii/configure.patch
+++ b/packages/gnokii/gnokii/configure.patch
@@ -0,0 +1,21 @@
+--- gnokii-0.6.4/configure.in.old 2005-01-09 20:15:53.000000000 +0000
++++ gnokii-0.6.4/configure.in 2005-01-09 20:15:55.000000000 +0000
+@@ -379,11 +379,16 @@
+ AC_MSG_WARN(Cannot find library libX11.)
+ AC_MSG_WARN(Disabling xgnokii.)
+ else
++ if test "x$x_libraries" != "x"; then
++ l_x_libraries="-L$x_libraries"
++ else
++ l_x_libraries=""
++ fi
+ AC_CHECK_LIB(Xpm, XpmWriteFileFromXpmImage,
+- [ XPM_CFLAGS="$XINCL" XPM_LIBS="-L$x_libraries -lXpm -lX11"
++ [ XPM_CFLAGS="$XINCL" XPM_LIBS="$l_x_libraries -lXpm -lX11"
+ AC_DEFINE(XPM) ],
+ AC_MSG_WARN(Cannot found library libXpm - disabling XPM support.),
+- [ -L$x_libraries -lX11 ]
++ [ $l_x_libraries -lX11 ]
+ )
+
+ if test "x$PTHREAD_LIBS" = xerror; then
diff --git a/packages/gnokii/gnokii_0.6.4.bb b/packages/gnokii/gnokii_0.6.4.bb
index e69de29bb2..b584e965ae 100644
--- a/packages/gnokii/gnokii_0.6.4.bb
+++ b/packages/gnokii/gnokii_0.6.4.bb
@@ -0,0 +1,25 @@
+LICENSE = "GPL"
+DESCRIPTION = "Cellphone tools and driver software"
+SRC_URI = "http://www.gnokii.org/download/gnokii-${PV}.tar.bz2 \
+ file://configure.patch;patch=1"
+MAINTAINER = "Phil Blundell <pb@handhelds.org>"
+
+DEPENDS = "xpm"
+
+inherit autotools pkgconfig
+
+PACKAGES += "libgnokii libgnokii-dev"
+
+FILES_${PN} = "${bindir} ${sbindir}"
+FILES_libgnokii-dev = "${includedir} ${libdir}/lib*.so ${libdir}/*.la \
+ ${libdir}/*.a ${libdir}/*.o ${libdir}/pkgconfig \
+ /lib/*.a /lib/*.o ${datadir}/aclocal"
+FILES_${PN}-dev = ""
+FILES_libgnokii = "${libdir}/libgnokii.so.*"
+
+do_stage() {
+ autotools_stage_includes
+
+ oe_libinstall -C common -so libgnokii ${STAGING_LIBDIR}
+}
+