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.
9 include $(TOPDIR)/rules.mk
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=http://www.musicpd.org/uploads/files/
17 PKG_MD5SUM:=a93a390315aacfec061c8df89fb5e35f
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
21 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
23 include $(INCLUDE_DIR)/package.mk
28 TITLE:=Music Player Daemon Console Client
30 MPD is a music player supporting flac, mp3 and ogg files.\\\
31 It is typically controlled over a network using one of it's many \\\
32 clients including mpc(console), gmpc(gnome), phpmp(php) etc.\\\
34 URL:=http://www.musicpd.org/
37 define Build/Configure
38 $(call Build/Configure/Default, \
44 $(call Build/Compile/Default,\
50 define Package/mpc/install
51 $(INSTALL_DIR) $(1)/usr/bin
52 $(CP) $(PKG_BUILD_DIR)/src/mpc $(1)/usr/bin/
55 $(eval $(call BuildPackage,mpc))