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.
7 # $Id: Makefile 9349 2007-10-18 18:46:37Z blogic $
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
16 PKG_SOURCE_URL
:=http
://download.berlios.de
/scmpc
17 PKG_MD5SUM
:=f42482e4dbf398df92a36d5610b403e5
19 include $(INCLUDE_DIR
)/package.mk
24 TITLE
:=A MPD client which submits your tracks to Last.Fm
25 DEPENDS
:=+libcurl
+libdaemon
+argtable
+confuse
26 URL
:=http
://scmpc.berlios.de
/
29 define Package
/scmpc
/description
30 scmpc is a multithreaded
, robust client for MPD to submit tracks to Audioscrobbler
(Last.fm
).
37 --without-libiconv-prefix \
38 --without-libintl-prefix \
41 $(TARGET_CONFIGURE_OPTS
) \
44 define Package
/scmpc
/install
45 $(INSTALL_DIR
) $(1)/usr
/bin
46 $(CP
) $(PKG_BUILD_DIR
)/src
/scmpc
$(1)/usr
/bin
/
47 $(INSTALL_DIR
) $(1)/etc
/init.d
48 $(INSTALL_BIN
) .
/files
/scmpc.init
$(1)/etc
/init.d
/scmpc
49 $(INSTALL_DIR
) $(1)/etc
50 $(CP
) $(PKG_BUILD_DIR
)/examples
/scmpc.conf
$(1)/etc
53 $(eval
$(call BuildPackage
,scmpc
))