libmodplug: new package
authorMaxime Hadjinlian <maxime.hadjinlian@gmail.com>
Sun, 12 Jan 2014 17:53:20 +0000 (18:53 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 15 Jan 2014 20:55:16 +0000 (21:55 +0100)
MOD music file decoder.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <ebsi4711@gmail.com>

[Peter: fix toolchain comment + file header. Add _LICENSE_FILES]
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/Config.in
package/libmodplug/Config.in [new file with mode: 0644]
package/libmodplug/libmodplug.mk [new file with mode: 0644]

index 4611256d08482f5647d243f745490635c4813867..2f62d6c30c13d3bacef985968a0483866b55218f 100644 (file)
@@ -456,6 +456,7 @@ source "package/libcuefile/Config.in"
 source "package/libid3tag/Config.in"
 source "package/liblo/Config.in"
 source "package/libmad/Config.in"
+source "package/libmodplug/Config.in"
 source "package/libmpd/Config.in"
 source "package/libreplaygain/Config.in"
 source "package/libsamplerate/Config.in"
diff --git a/package/libmodplug/Config.in b/package/libmodplug/Config.in
new file mode 100644 (file)
index 0000000..cfc774a
--- /dev/null
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_LIBMODPLUG
+       bool "libmodplug"
+       depends on BR2_INSTALL_LIBSTDCPP
+       help
+         MOD music file decoder
+
+         http://modplug-xmms.sourceforge.net/
+
+comment "libmodplug needs a toolchain w/ C++"
+       depends on !BR2_INSTALL_LIBSTDCPP
diff --git a/package/libmodplug/libmodplug.mk b/package/libmodplug/libmodplug.mk
new file mode 100644 (file)
index 0000000..2a74928
--- /dev/null
@@ -0,0 +1,13 @@
+################################################################################
+#
+# libmodplug
+#
+################################################################################
+
+LIBMODPLUG_VERSION = 0.8.7
+LIBMODPLUG_SITE = http://downloads.sourceforge.net/project/modplug-xmms/libmodplug/$(LIBMODPLUG_VERSION)
+LIBMODPLUG_INSTALL_STAGING = YES
+LIBMODPLUG_LICENSE = Public Domain
+LIBMODPLUG_LICENSE_FILES = COPYING
+
+$(eval $(autotools-package))