summaryrefslogtreecommitdiffstats
path: root/package/libcuefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/libcuefile')
-rw-r--r--package/libcuefile/Config.in6
-rw-r--r--package/libcuefile/libcuefile.mk23
2 files changed, 29 insertions, 0 deletions
diff --git a/package/libcuefile/Config.in b/package/libcuefile/Config.in
new file mode 100644
index 000000000..416b3e149
--- /dev/null
+++ b/package/libcuefile/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_LIBCUEFILE
+ bool "libcuefile"
+ help
+ Cue File library from Musepack
+
+ http://www.musepack.net/
diff --git a/package/libcuefile/libcuefile.mk b/package/libcuefile/libcuefile.mk
new file mode 100644
index 000000000..7e1c8430e
--- /dev/null
+++ b/package/libcuefile/libcuefile.mk
@@ -0,0 +1,23 @@
+################################################################################
+#
+# libcuefile
+#
+################################################################################
+
+LIBCUEFILE_VERSION = r475
+LIBCUEFILE_SITE = http://files.musepack.net/source
+LIBCUEFILE_SOURCE = libcuefile_$(LIBCUEFILE_VERSION).tar.gz
+LIBCUEFILE_INSTALL_STAGING = YES
+
+define LIBCUEFILE_INSTALL_STAGING_INCLUDES
+ cp -r $(@D)/include $(STAGING_DIR)/usr
+endef
+
+define LIBCUEFILE_INSTALL_TARGET_INCLUDES
+ cp -r $(@D)/include $(TARGET_DIR)/usr
+endef
+
+LIBCUEFILE_POST_INSTALL_STAGING_HOOKS += LIBCUEFILE_INSTALL_STAGING_INCLUDES
+LIBCUEFILE_POST_INSTALL_TARGET_HOOKS += LIBCUEFILE_INSTALL_TARGET_INCLUDES
+
+$(eval $(call CMAKETARGETS))