[packages] move 10.03.1 branch to the right directory
[openwrt/svn-archive/archive.git] / sound / empcd / Makefile
1 #
2 # Copyright (C) 2007 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:=empcd
11 PKG_VERSION:=2008.02.16
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=http://unfix.org/projects/empcd
16 PKG_MD5SUM:=c3209f6bf8eb6e8ea9638601e1cd04a4
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/empcd
21 SECTION:=sound
22 CATEGORY:=Sound
23 TITLE:=EMPCd can control the MPD
24 URL:=http://unfix.org/projects/empcd
25 endef
26
27 define Package/empcd/description
28 This is EMPCd which can use /dev/input/event0 or other event devices
29 to control MPD (Music Player Daemon), directly using libmpdclient
30 and other programs, currently using system(2).
31 endef
32
33 define Package/empcd/conffiles
34 /etc/empcd.conf
35 endef
36
37 define Build/Compile
38 $(call Build/Compile/Default,\
39 DESTDIR="$(PKG_INSTALL_DIR)" \
40 all \
41 )
42 endef
43
44 define Package/empcd/install
45 $(INSTALL_DIR) $(1)/usr/bin
46 $(INSTALL_BIN) $(PKG_BUILD_DIR)/empcd $(1)/usr/bin/
47 $(INSTALL_DIR) $(1)/etc
48 $(INSTALL_CONF) $(PKG_BUILD_DIR)/doc/empcd.conf $(1)/etc/
49 endef
50
51 $(eval $(call BuildPackage,empcd))