From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: 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 Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- recipes/libowl/libowl_svn.bb | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 recipes/libowl/libowl_svn.bb (limited to 'recipes/libowl') diff --git a/recipes/libowl/libowl_svn.bb b/recipes/libowl/libowl_svn.bb new file mode 100644 index 0000000000..d5042b78a1 --- /dev/null +++ b/recipes/libowl/libowl_svn.bb @@ -0,0 +1,39 @@ +# This recipe builds libowl and then stages the header and static lib; +# it intentionally does not stage the shared lib and create a package. +# +# Libowl is currently a 'cut and paste' library; this package makes our +# life a touch easier by not having to patch the source directly into +# applications; instead we add -lowl to the linker cmdline. Also, when +# we eventually make libowl into a normal shared library, this package +# will make that transition rather simple. + +DESCRIPTION = "OpenedHand Widget Library" +HOMEPAGE = "http://www.o-hand.com" +LICENSE = "LGPL" +SECTION = "libs" +DEPENDS = "gtk+" +PV = "0.0+svnr${SRCREV}" +PR = "r3" + +PACKAGES = "" + +SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=${PN};proto=http" + +S = "${WORKDIR}/${PN}" + +inherit autotools pkgconfig + +do_compile_prepend() { + # have to unstage the library first so that the tests build + rm -f ${STAGING_LIBDIR}/libowl* + rm -f ${STAGING_INCDIR}/owl* +} + +do_stage() { + headers=`eval ls libowl/owl*.h` + for header in $headers; do + hdr_base=`eval basename $header` + install -m 644 $header ${STAGING_INCDIR}/$hdr_base + done + install -m 644 libowl/.libs/libowl.a ${STAGING_LIBDIR}/ +} -- cgit 1.2.3-korg