fix configure options error.
[openwrt/svn-archive/archive.git] / sound / mpc / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=mpc
12 PKG_VERSION:=0.12.1
13 PKG_RELEASE:=2
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=http://www.musicpd.org/uploads/files/
17 PKG_MD5SUM:=a93a390315aacfec061c8df89fb5e35f
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/mpc
22 SECTION:=sound
23 CATEGORY:=Sound
24 TITLE:=Music Player Daemon Console Client
25 URL:=http://www.musicpd.org/
26 endef
27
28 define Package/mpc/description
29 MPD is a music player supporting flac, mp3 and ogg files.
30 It is typically controlled over a network using one of it's many
31 clients including mpc(console), gmpc(gnome), phpmp(php) etc.
32 this is MPC
33 endef
34
35 define Build/Configure
36 $(call Build/Configure/Default, \
37 --disable-iconv \
38 )
39 endef
40
41 define Build/Compile
42 $(call Build/Compile/Default,\
43 prefix="/usr" \
44 all \
45 )
46 endef
47
48 define Package/mpc/install
49 $(INSTALL_DIR) $(1)/usr/bin
50 $(CP) $(PKG_BUILD_DIR)/src/mpc $(1)/usr/bin/
51 $(INSTALL_BIN) ./files/pls-handler.sh $(1)/usr/bin
52 endef
53
54 $(eval $(call BuildPackage,mpc))