diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/gnokii | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/gnokii')
-rw-r--r-- | recipes/gnokii/gnokii/configure.patch | 21 | ||||
-rw-r--r-- | recipes/gnokii/gnokii_0.6.14.bb | 26 | ||||
-rw-r--r-- | recipes/gnokii/gnokii_0.6.4.bb | 28 |
3 files changed, 75 insertions, 0 deletions
diff --git a/recipes/gnokii/gnokii/configure.patch b/recipes/gnokii/gnokii/configure.patch new file mode 100644 index 0000000000..0cc3cb4a6b --- /dev/null +++ b/recipes/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/recipes/gnokii/gnokii_0.6.14.bb b/recipes/gnokii/gnokii_0.6.14.bb new file mode 100644 index 0000000000..7a7a3d71e3 --- /dev/null +++ b/recipes/gnokii/gnokii_0.6.14.bb @@ -0,0 +1,26 @@ +LICENSE = "GPL" +DESCRIPTION = "Cellphone tools and driver software" +SRC_URI = "http://www.gnokii.org/download/gnokii/gnokii-${PV}.tar.bz2 \ + file://configure.patch;patch=1" + +DEPENDS = "libxpm gtk+" + +inherit autotools pkgconfig + +PARALLEL_MAKE = "" + +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} +} + diff --git a/recipes/gnokii/gnokii_0.6.4.bb b/recipes/gnokii/gnokii_0.6.4.bb new file mode 100644 index 0000000000..44582f3db6 --- /dev/null +++ b/recipes/gnokii/gnokii_0.6.4.bb @@ -0,0 +1,28 @@ +LICENSE = "GPL" +DESCRIPTION = "Cellphone tools and driver software" +SRC_URI = "http://www.gnokii.org/download/gnokii/0.6.x/gnokii-${PV}.tar.bz2 \ + file://configure.patch;patch=1" + +DEPENDS = "libxpm" + +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_compile_prepend() { + sed -i s:foo::g Makefile.global +} + +do_stage() { + autotools_stage_includes + + oe_libinstall -C common -so libgnokii ${STAGING_LIBDIR} +} + |