[packages] mocp (#9419)

- make libmad depend on PATENTED flag
	- use wide ncurses for proper utf-8 handling
	- add missing deps
	- remove extraneous deps


git-svn-id: svn://svn.openwrt.org/openwrt/packages@27098 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2011-06-03 13:15:02 +00:00
parent a5fdf6d8a6
commit c5f6f0bde9

View File

@ -9,6 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=moc
PKG_VERSION:=2.4.4
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=ftp://ftp.daper.net/pub/soft/moc/stable/
@ -24,7 +25,7 @@ include $(INCLUDE_DIR)/nls.mk
define Package/moc
SECTION:=sound
CATEGORY:=Sound
DEPENDS:=+librt +libltdl +libcurl +libflac +libmad +libvorbis +libncurses +libid3tag $(ICONV_DEPENDS)
DEPENDS:=+libcurl +BUILD_PATENTED:libmad +libvorbis $(ICONV_DEPENDS) +alsa-utils +libid3tag +libflac +libsamplerate +PACKAGE_libncursesw:libncursesw +!PACKAGE_libncursesw:libncurses +libffmpeg
TITLE:=Music On Console
endef
@ -34,6 +35,7 @@ endef
define Build/Configure
$(call Build/Configure/Default, \
$(if $(CONFIG_BUILD_PATENTED),,--without-mp3) \
--enable-shared \
--disable-static \
--disable-debug \