2 # Copyright (C) 2006 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.bz2
15 PKG_SOURCE_URL
:=@SF
/musicpd
16 PKG_MD5SUM
:=48897aeb3a7ee5c64f30e56789f105a8
18 include $(INCLUDE_DIR
)/package.mk
23 TITLE
:=Music Player Daemon Console Client
24 URL
:=http
://www.musicpd.org
/
27 define Package
/mpc
/description
28 MPD is a music player supporting flac
, mp3 and ogg files.
29 It is typically controlled over a network using one of it
's many
30 clients including mpc(console), gmpc(gnome), phpmp(php) etc.
34 define Build/Configure
35 $(call Build/Configure/Default, \
41 $(call Build/Compile/Default,\
42 CFLAGS="$(TARGET_CFLAGS) -std=gnu99" \
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
54 $(eval $(call BuildPackage,mpc))