From 3c74c8f9902fab84a30073c4c25b95cae8ec5718 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Fri, 13 May 2011 18:25:52 +0000 Subject: [PATCH] [packages] mocp: adds Music On Console player SVN-Revision: 26886 --- multimedia/mocp/Makefile | 50 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 multimedia/mocp/Makefile diff --git a/multimedia/mocp/Makefile b/multimedia/mocp/Makefile new file mode 100644 index 0000000000..582b6495b2 --- /dev/null +++ b/multimedia/mocp/Makefile @@ -0,0 +1,50 @@ +# +# Copyright (C) 2011 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=moc +PKG_VERSION:=2.4.4 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=ftp://ftp.daper.net/pub/soft/moc/stable/ + +PKG_MD5SUM:=647c770a5542a4ae5437386807a89796 + +PKG_FIXUP:=libtool +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/nls.mk + +define Package/moc + SECTION:=sound + CATEGORY:=Sound + DEPENDS:=+librt +libltdl +libcurl +libflac +libmad +libvorbis +libncurses +libid3tag $(ICONV_DEPENDS) + TITLE:=Music On Console +endef + +define Package/moc/description + MOC (music on console) is a console audio player for LINUX/UNIX designed to be powerful and easy to use. +endef + +define Build/Configure + $(call Build/Configure/Default, \ + --enable-shared \ + --disable-static \ + --disable-debug \ + ) +endef + +define Package/moc/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mocp $(1)/usr/bin/ + $(INSTALL_DIR) $(1)/usr/lib/moc/decoder_plugins + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/moc/decoder_plugins/*.so $(1)/usr/lib/moc/decoder_plugins +endef + +$(eval $(call BuildPackage,moc)) -- 2.30.2