[oe] [meta-oe 2/2] subsurface: inital add

Koen Kooi koen at dominion.thruhere.net
Sat Oct 15 16:41:13 UTC 2011


Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
---
 .../recipes-extended/subsurface/subsurface_git.bb  |   28 ++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-extended/subsurface/subsurface_git.bb

diff --git a/meta-oe/recipes-extended/subsurface/subsurface_git.bb b/meta-oe/recipes-extended/subsurface/subsurface_git.bb
new file mode 100644
index 0000000..b1a7e3e
--- /dev/null
+++ b/meta-oe/recipes-extended/subsurface/subsurface_git.bb
@@ -0,0 +1,28 @@
+DESCRIPTION = "Subsurface is an open source dive log program."
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+DEPENDS = "libdivecomputer gtk+ libxml2 glib-2.0"
+
+inherit gtk-icon-cache
+
+PV = "1.0"
+SRCREV = "f2c61aefa762ce2ef7dea61886afeb23b0fe5eff"
+SRC_URI = "git://subsurface.hohndel.org/subsurface.git"
+S = "${WORKDIR}/git"
+
+EXTRA_OEMAKE = "CC='${CC}' \
+                libdc-usr=${STAGING_INCDIR}/libdivecomputer/* \
+                LIBDIVECOMPUTERINCLUDES=${STAGING_INCDIR}/libdivecomputer \
+                LIBDIVECOMPUTERARCHIVE=${STAGING_LIBDIR}/libdivecomputer.a \
+               "
+
+do_install() {
+	install -d ${D}${datadir}/man/man1
+	oe_runmake install prefix=${D}${prefix}
+	rm ${D}${datadir}/icons/hicolor/icon-theme.cache
+}
+
+FILES_${PN} += "${datadir}/icons/hicolor/scalable/apps/subsurface.svg"
+RRECOMMENDS_${PN}_append_libc-glibc = " eglibc-gconv-iso8859-15"
+
-- 
1.6.6.1





More information about the Openembedded-devel mailing list