DESCRIPTION:= is obselete
[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 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=empcd
12 PKG_VERSION:=2005.12.12
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=http://unfix.org/projects/empcd
17 PKG_MD5SUM:=300e59ba3067f1f82d4ecec124f96916
18 PKG_CAT:=bzcat
19
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
21 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
22
23 include $(INCLUDE_DIR)/package.mk
24
25 define Package/empcd
26 SECTION:=sound
27 CATEGORY:=Sound
28 TITLE:=EMPCd can control the MPD
29 URL:=http://unfix.org/projects/empcd
30 endef
31
32 define Package/empcd/description
33 This is EMPCd which can use /dev/input/event0 or other event devices
34 to control MPD (Music Player Daemon), directly using libmpdclient
35 and other programs, currently using system(2).
36 endef
37
38 define Package/empcd/conffiles
39 /etc/empcd.conf
40 endef
41
42 define Build/Compile
43 $(call Build/Compile/Default,\
44 DESTDIR="$(PKG_INSTALL_DIR)" \
45 all \
46 )
47 endef
48
49 define Package/empcd/install
50 $(INSTALL_DIR) $(1)/usr/bin
51 $(INSTALL_BIN) $(PKG_BUILD_DIR)/empcd $(1)/usr/bin/
52 $(INSTALL_DIR) $(1)/etc
53 $(INSTALL_CONF) $(PKG_BUILD_DIR)/doc/empcd.conf $(1)/etc/
54 endef
55
56 $(eval $(call BuildPackage,empcd))