aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/libdiscid
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/libdiscid')
-rw-r--r--recipes/libdiscid/libdiscid.inc20
-rw-r--r--recipes/libdiscid/libdiscid_0.2.2.bb1
2 files changed, 21 insertions, 0 deletions
diff --git a/recipes/libdiscid/libdiscid.inc b/recipes/libdiscid/libdiscid.inc
new file mode 100644
index 0000000000..01d3c3d851
--- /dev/null
+++ b/recipes/libdiscid/libdiscid.inc
@@ -0,0 +1,20 @@
+DESCRIPTION = "The MusicBrainz client is a library which can be built into other programs. \
+It allows you to access the data held on the MusicBrainz server."
+
+HOMEPAGE = "http://musicbrainz.org"
+LICENSE = "LGPL"
+DEPENDS = "cmake-native"
+
+SRC_URI = "http://musicbrainz.org/doc/libdiscid/libdiscid-${PV}.tar.gz"
+
+inherit cmake pkgconfig
+
+# Fight a compiler/link bug that leaks too many c++ symbols
+TARGET_LDFLAGS += " -Wl,-rpath-link,${CROSS_DIR}/${TARGET_SYS}/lib "
+
+S = "${WORKDIR}/${PN}"
+
+do_stage() {
+ autotools_stage_all
+}
+
diff --git a/recipes/libdiscid/libdiscid_0.2.2.bb b/recipes/libdiscid/libdiscid_0.2.2.bb
new file mode 100644
index 0000000000..bd54419686
--- /dev/null
+++ b/recipes/libdiscid/libdiscid_0.2.2.bb
@@ -0,0 +1 @@
+require ${PN}.inc