2 # Copyright (C) 2007 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
12 PKG_VERSION
:=2005.12.12
15 PKG_SOURCE
:=$(PKG_NAME
)_
$(PKG_VERSION
).
tar.bz2
16 PKG_SOURCE_URL
:=http
://unfix.org
/projects
/empcd
17 PKG_MD5SUM
:=300e59ba3067f1f82d4ecec124f96916
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)
21 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
23 include $(INCLUDE_DIR
)/package.mk
28 TITLE
:=EMPCd can control the MPD
30 This is EMPCd which can use
/dev
/input
/event0 or other event devices
\\\
31 to control MPD
(Music Player Daemon
), directly using libmpdclient
\\\
32 and other programs
, currently using system
(2).
33 URL
:=http
://unfix.org
/projects
/empcd
36 define Package
/empcd
/conffiles
41 $(call Build
/Compile
/Default
,\
42 DESTDIR
="$(PKG_INSTALL_DIR)" \
47 define Package
/empcd
/install
48 $(INSTALL_DIR
) $(1)/usr
/bin
49 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/empcd
$(1)/usr
/bin
/
50 $(INSTALL_DIR
) $(1)/etc
51 $(INSTALL_CONF
) $(PKG_BUILD_DIR
)/doc
/empcd.conf
$(1)/etc
/
54 $(eval
$(call BuildPackage
,empcd
))