[packages] apr: update to v1.3.9
[openwrt/svn-archive/archive.git] / sound / scmpc / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=scmpc
11 PKG_VERSION:=0.2.2
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=http://download.berlios.de/scmpc
16 PKG_MD5SUM:=f42482e4dbf398df92a36d5610b403e5
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/scmpc
21 SECTION:=sound
22 CATEGORY:=Sound
23 TITLE:=A MPD client which submits your tracks to Last.Fm
24 DEPENDS:=+libcurl +libdaemon +argtable +confuse
25 URL:=http://scmpc.berlios.de/
26 endef
27
28 define Package/scmpc/description
29 scmpc is a multithreaded, robust client for MPD to submit tracks to Audioscrobbler (Last.fm).
30 endef
31
32 CONFIGURE_ARGS += \
33 --enable-shared \
34 --enable-static \
35 --disable-rpath \
36 --without-libiconv-prefix \
37 --without-libintl-prefix \
38
39 MAKE_FLAGS += \
40 $(TARGET_CONFIGURE_OPTS) \
41 $(1) \
42
43 define Package/scmpc/install
44 $(INSTALL_DIR) $(1)/usr/bin
45 $(CP) $(PKG_BUILD_DIR)/src/scmpc $(1)/usr/bin/
46 $(INSTALL_DIR) $(1)/etc/init.d
47 $(INSTALL_BIN) ./files/scmpc.init $(1)/etc/init.d/scmpc
48 $(INSTALL_DIR) $(1)/etc
49 $(CP) $(PKG_BUILD_DIR)/examples/scmpc.conf $(1)/etc
50 endef
51
52 $(eval $(call BuildPackage,scmpc))