source "package/lame/Config.in"
source "package/libvpx/Config.in"
source "package/madplay/Config.in"
+ source "package/modplugtools/Config.in"
source "package/mpd/Config.in"
source "package/mpg123/Config.in"
source "package/mplayer/Config.in"
--- /dev/null
+config BR2_PACKAGE_MODPLUGTOOLS
+ bool "modplugtools"
+ depends on BR2_INSTALL_LIBSTDCPP # libmodplug
+ select BR2_PACKAGE_LIBAO
+ select BR2_PACKAGE_LIBMODPLUG
+ help
+ This installs the 'modplug123' command line tool to play music files
+ in the tracker formats supported by libmodplug: MOD, S3M, XM etc.
+ Audio output is handled by libao.
+
+ http://modplug-xmms.sourceforge.net/
+
+comment "modplugtools needs a toolchain w/ C++"
+ depends on !BR2_INSTALL_LIBSTDCPP
--- /dev/null
+################################################################################
+#
+# modplugtools
+#
+################################################################################
+
+MODPLUGTOOLS_VERSION = 0.5.3
+MODPLUGTOOLS_SITE = http://downloads.sourceforge.net/project/modplug-xmms/modplug-tools
+MODPLUGTOOLS_LICENSE = GPLv3
+MODPLUGTOOLS_LICENSE_FILES = COPYING
+
+MODPLUGTOOLS_DEPENDENCIES = libao libmodplug
+
+# Only build the 'mp123' subdir, which contains 'modplug123' that plays through
+# various backends via libao. This excludes the 'mpplay' subdir, which contains
+# 'modplugplay' that can play only through the deprecated OSS interface.
+MODPLUGTOOLS_MAKE_OPTS = SUBDIRS=mp123
+MODPLUGTOOLS_INSTALL_TARGET_OPTS = SUBDIRS=mp123 DESTDIR=$(TARGET_DIR) install
+
+$(eval $(autotools-package))