[oe-commits] Dmitry Artamonow : libnsbmp: add recipe for version 0.0.1

git version control git at git.openembedded.org
Sat May 30 16:31:58 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: f18439433c8795e31da60d20a2c49fb343db9dfb
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=f18439433c8795e31da60d20a2c49fb343db9dfb

Author: Dmitry Artamonow <mad_soft at inbox.ru>
Date:   Sat May 23 10:35:16 2009 +0000

libnsbmp: add recipe for version 0.0.1

libnsbmp is BMP and ICO decoding library.
Currently only Netsurf browser is using it, so we build just static library.

Signed-off-by: Dmitry Artamonow <mad_soft at inbox.ru>
Acked-by: Tom Rini <trini at embeddedalley.com>

---

 recipes/netsurf/libnsbmp_0.0.1.bb |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/recipes/netsurf/libnsbmp_0.0.1.bb b/recipes/netsurf/libnsbmp_0.0.1.bb
new file mode 100644
index 0000000..a17cd31
--- /dev/null
+++ b/recipes/netsurf/libnsbmp_0.0.1.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "Libnsbmp is a decoding library for the BMP and ICO image file formats"
+HOMEPAGE = "http://www.netsurf-browser.org/projects/libnsbmp/"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "MIT"
+
+SRC_URI = "http://www.netsurf-browser.org/projects/releases/libnsbmp-${PV}-src.tar.gz"
+
+inherit pkgconfig
+
+EXTRA_OEMAKE = "CURDIR=${S} DESTDIR=${D} PREFIX=${prefix} BUILDDIR=build-OE"
+
+# NOTE: we're using default buildmode here, which results in building only
+# static libraries (.a) Not a problem as libnsbmp is only used by Netsurf
+# at the moment
+
+do_stage() {
+	oe_libinstall -a -C build-OE/ libnsbmp ${STAGING_LIBDIR}
+	install -m 0644 include/*.h ${STAGING_INCDIR}/
+}
+
+do_install() {
+	oe_runmake install
+}





More information about the Openembedded-commits mailing list