libmpdclient: new package
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Mon, 7 Jul 2014 19:53:03 +0000 (16:53 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 8 Jul 2014 05:43:17 +0000 (07:43 +0200)
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/Config.in
package/libmpdclient/Config.in [new file with mode: 0644]
package/libmpdclient/libmpdclient.mk [new file with mode: 0644]

index 9d75c0cf820624b413b89cf6495c535d3576bbcc..9beab7aab861154d1f206c205c90c158f1f11a62 100644 (file)
@@ -518,6 +518,7 @@ menu "Audio/Sound"
        source "package/libmad/Config.in"
        source "package/libmodplug/Config.in"
        source "package/libmpd/Config.in"
+       source "package/libmpdclient/Config.in"
        source "package/libreplaygain/Config.in"
        source "package/libsamplerate/Config.in"
        source "package/libsndfile/Config.in"
diff --git a/package/libmpdclient/Config.in b/package/libmpdclient/Config.in
new file mode 100644 (file)
index 0000000..a58c6c3
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_LIBMPDCLIENT
+       bool "libmpdclient"
+       help
+         A stable, documented, asynchronous API library for interfacing MPD
+         in the C, C++ & Objective C languages.
+
+         http://www.musicpd.org/libs/libmpdclient/
diff --git a/package/libmpdclient/libmpdclient.mk b/package/libmpdclient/libmpdclient.mk
new file mode 100644 (file)
index 0000000..530e4fc
--- /dev/null
@@ -0,0 +1,16 @@
+################################################################################
+#
+# libmpdclient
+#
+################################################################################
+
+LIBMPDCLIENT_VERSION_MAJOR = 2
+LIBMPDCLIENT_VERSION = $(LIBMPDCLIENT_VERSION_MAJOR).9
+LIBMPDCLIENT_SOURCE = libmpdclient-$(LIBMPDCLIENT_VERSION).tar.xz
+LIBMPDCLIENT_SITE = http://www.musicpd.org/download/libmpdclient/$(LIBMPDCLIENT_VERSION_MAJOR)
+LIBMPDCLIENT_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
+LIBMPDCLIENT_INSTALL_STAGING = YES
+LIBMPDCLIENT_LICENSE = BSD-3c
+LIBMPDCLIENT_LICENSE_FILES = COPYING
+
+$(eval $(autotools-package))