2007-05-14 21:42:44 +00:00
|
|
|
#
|
2014-03-08 00:56:47 +00:00
|
|
|
# Copyright (C) 2007-2014 OpenWrt.org
|
2007-05-14 21:42:44 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=empcd
|
2008-07-06 14:46:31 +00:00
|
|
|
PKG_VERSION:=2008.02.16
|
2014-03-08 00:56:47 +00:00
|
|
|
PKG_RELEASE:=2
|
2007-05-14 21:42:44 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.bz2
|
|
|
|
PKG_SOURCE_URL:=http://unfix.org/projects/empcd
|
2008-07-06 14:46:31 +00:00
|
|
|
PKG_MD5SUM:=c3209f6bf8eb6e8ea9638601e1cd04a4
|
2007-05-14 21:42:44 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/empcd
|
|
|
|
SECTION:=sound
|
|
|
|
CATEGORY:=Sound
|
|
|
|
TITLE:=EMPCd can control the MPD
|
|
|
|
URL:=http://unfix.org/projects/empcd
|
|
|
|
endef
|
|
|
|
|
2007-10-14 04:32:56 +00:00
|
|
|
define Package/empcd/description
|
|
|
|
This is EMPCd which can use /dev/input/event0 or other event devices
|
|
|
|
to control MPD (Music Player Daemon), directly using libmpdclient
|
|
|
|
and other programs, currently using system(2).
|
|
|
|
endef
|
|
|
|
|
2007-05-14 21:42:44 +00:00
|
|
|
define Package/empcd/conffiles
|
|
|
|
/etc/empcd.conf
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
$(call Build/Compile/Default,\
|
|
|
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
2014-03-08 00:56:47 +00:00
|
|
|
$(TARGET_CONFIGURE_OPTS) \
|
2007-05-14 21:42:44 +00:00
|
|
|
all \
|
|
|
|
)
|
|
|
|
endef
|
|
|
|
|
2014-03-08 00:56:47 +00:00
|
|
|
define Package/empcd/install
|
2007-05-14 21:42:44 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/empcd $(1)/usr/bin/
|
|
|
|
$(INSTALL_DIR) $(1)/etc
|
|
|
|
$(INSTALL_CONF) $(PKG_BUILD_DIR)/doc/empcd.conf $(1)/etc/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,empcd))
|