2 # Copyright (C) 2009 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
:=http
://50hz.ws
/mpdas
16 PKG_MD5SUM
:=8a694691dcb5d217c46754e40152186a
18 include $(INCLUDE_DIR
)/package.mk
23 TITLE
:=A MPD client which submits your tracks to Last.Fm
24 DEPENDS
:=+libcurl
+libmpd
+libstdcpp
25 URL
:=http
://50hz.ws
/mpdas
/
28 define Package
/mpdas
/description
29 mpdas is an AudioScrobbler client for MPD written in C
++.
30 It supports the latest AudioScrobbler protocol
(1.21).
31 In case of a downtime or connectivity problems
, mpdas will
32 cache the played songs to ~
/.mpdascache.
36 $(TARGET_CONFIGURE_OPTS
) \
39 define Package
/mpdas
/install
40 $(INSTALL_DIR
) $(1)/etc
41 $(INSTALL_DATA
) .
/files
/mpdasrc
$(1)/etc
/mpdasrc
42 $(INSTALL_DIR
) $(1)/usr
/bin
43 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/mpdas
$(1)/usr
/bin
/
44 $(INSTALL_DIR
) $(1)/etc
/init.d
45 $(INSTALL_BIN
) .
/files
/mpdas.init
$(1)/etc
/init.d
/mpdas
48 $(eval
$(call BuildPackage
,mpdas
))