From 8358a792be09de1bbb3de3aecc5d1af1d0745f0b Mon Sep 17 00:00:00 2001 From: loswillios Date: Sat, 5 Feb 2011 19:40:39 +0000 Subject: [PATCH] [mpdas] update to 0.30 git-svn-id: svn://svn.openwrt.org/openwrt/packages@25373 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- sound/mpdas/Makefile | 10 +++++++--- sound/mpdas/files/mpdas.init | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/sound/mpdas/Makefile b/sound/mpdas/Makefile index 6b7676393..2550ceb63 100644 --- a/sound/mpdas/Makefile +++ b/sound/mpdas/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mpdas -PKG_VERSION:=0.2.4 +PKG_VERSION:=0.3.0 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=http://50hz.ws/mpdas -PKG_MD5SUM:=8a694691dcb5d217c46754e40152186a +PKG_MD5SUM:=d9f6e4d3b000d95835f39fb1aa3f4b28 include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/nls.mk @@ -33,6 +33,10 @@ define Package/mpdas/description cache the played songs to ~/.mpdascache. endef +define Package/mpdas/conffiles +/etc/mpdasrc +endef + EXTRA_CPPFLAGS:=\ -I$(ICONV_PREFIX)/include \ -I$(INTL_PREFIX)/include \ @@ -44,7 +48,7 @@ EXTRA_LDFLAGS:=\ MAKE_FLAGS += \ CPPFLAGS="$(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)" \ - LDFLAGS="$(TARGET_LDPFLAGS) $(EXTRA_LDFLAGS)" \ + LDFLAGS="$(TARGET_LDPFLAGS) $(EXTRA_LDFLAGS)" define Package/mpdas/install $(INSTALL_DIR) $(1)/etc diff --git a/sound/mpdas/files/mpdas.init b/sound/mpdas/files/mpdas.init index a5706b057..4b8eeb666 100644 --- a/sound/mpdas/files/mpdas.init +++ b/sound/mpdas/files/mpdas.init @@ -3,7 +3,7 @@ START=94 start() { - /usr/bin/mpdas -c /etc/mpdasrc + HOME=/root /usr/bin/mpdas -c /etc/mpdasrc & } stop() {