DESCRIPTION:= is obselete
[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:=1
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 PKG_CAT:=bzcat
19
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
21 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
22
23 include $(INCLUDE_DIR)/package.mk
24
25 define Package/mpc
26 SECTION:=sound
27 CATEGORY:=Sound
28 TITLE:=Music Player Daemon Console Client
29 URL:=http://www.musicpd.org/
30 endef
31
32 define Package/mpc/description
33 MPD is a music player supporting flac, mp3 and ogg files.
34 It is typically controlled over a network using one of it's many
35 clients including mpc(console), gmpc(gnome), phpmp(php) etc.
36 this is MPC
37 endef
38
39 define Build/Configure
40 $(call Build/Configure/Default, \
41 --disable-iconv \
42 )
43 endef
44
45 define Build/Compile
46 $(call Build/Compile/Default,\
47 prefix="/usr" \
48 all \
49 )
50 endef
51
52 define Package/mpc/install
53 $(INSTALL_DIR) $(1)/usr/bin
54 $(CP) $(PKG_BUILD_DIR)/src/mpc $(1)/usr/bin/
55 endef
56
57 $(eval $(call BuildPackage,mpc))