summaryrefslogtreecommitdiff
path: root/recipes/libdiscid/libdiscid.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/libdiscid/libdiscid.inc')
-rw-r--r--recipes/libdiscid/libdiscid.inc19
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes/libdiscid/libdiscid.inc b/recipes/libdiscid/libdiscid.inc
new file mode 100644
index 0000000000..9f5f1ce9b5
--- /dev/null
+++ b/recipes/libdiscid/libdiscid.inc
@@ -0,0 +1,19 @@
+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"
+
+SRC_URI = "http://users.musicbrainz.org/~matt/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
+}
+