2 # Copyright (C) 2006-2014 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
15 PKG_SOURCE_URL
:=http
://www.musicpd.org
/download
/mpc
/0
16 PKG_MD5SUM
:=d9430db9b9d7fb1eadbe4d13e8d97c66
18 PKG_LICENSE_FILES
:=COPYING
19 PKG_MAINTAINER
:=Ted Hess
<thess@kitschensync.net
>
21 include $(INCLUDE_DIR
)/package.mk
26 DEPENDS
:=+libmpdclient
27 TITLE
:=Music Player Daemon Console Client
28 URL
:=http
://www.musicpd.org
/
31 define Package
/mpc
/description
32 MPD is a music player supporting flac
, mp3 and ogg files.
33 It is typically controlled over a network using one of it
's many
34 clients including mpc(console), gmpc(gnome), phpmp(php) etc.
38 define Build/Configure
39 $(call Build/Configure/Default, \
45 $(call Build/Compile/Default,\
46 CFLAGS="$(TARGET_CFLAGS) -std=gnu99" \
52 define Package/mpc/install
53 $(INSTALL_DIR) $(1)/usr/bin
54 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/mpc $(1)/usr/bin/
55 $(INSTALL_BIN) ./files/pls-handler.sh $(1)/usr/bin/
58 $(eval $(call BuildPackage,mpc))