From 5d65cd1df514ab5d65f1e1a07aaa9fb5f6165c14 Mon Sep 17 00:00:00 2001 From: medaved Date: Mon, 21 Jul 2014 16:10:59 +0400 Subject: [PATCH] Update minidlna to 1.1.3 version --- multimedia/minidlna/Makefile | 29 +++++++++-------------- multimedia/minidlna/files/minidlna.config | 2 +- 2 files changed, 12 insertions(+), 19 deletions(-) diff --git a/multimedia/minidlna/Makefile b/multimedia/minidlna/Makefile index e98022d70..e8a1ae856 100644 --- a/multimedia/minidlna/Makefile +++ b/multimedia/minidlna/Makefile @@ -13,12 +13,11 @@ PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/minidlna -PKG_MD5SUM:=879027192C89E5376CDD2AE2D1AA33B4 - +PKG_MD5SUM:=879027192c89e5376cdd2ae2d1aa33b4 +PKG_MAINTAINER:=Knyazkov Dmitry PKG_BUILD_PARALLEL:=0 PKG_BUILD_DEPENDS:=util-linux -include $(INCLUDE_DIR)/kernel.mk include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/nls.mk @@ -38,7 +37,7 @@ define Package/minidlna/description endef define Package/minidlna/conffiles -/etc/minidlna.conf +/etc/config/minidlna endef TARGET_CPPFLAGS += \ @@ -64,16 +63,14 @@ MAKE_FLAGS +=\ LDFLAGS="$(TARGET_LDFLAGS)" \ ICONV_LIBS="-liconv $(if $(INTL_FULL),-lintl)" \ -MAKE_VARS +=\ - PREFIX="$(STAGING_DIR)/usr" \ - ICONV_PREFIX="$(ICONV_PREFIX)" \ - INTL_PREFIX="$(INTL_PREFIX)" \ - OS_NAME="OpenWrt Linux" \ - OS_VERSION="$(LINUX_VERSION)" \ - OS_URL="http://openwrt.org/" \ - DB_PATH="/var/run/minidlna" \ - LOG_PATH="/var/log" \ - +CONFIGURE_ARGS +=\ + --with-libiconv-prefix="$(ICONV_PREFIX)" \ + --with-libintl-prefix="$(INTL_PREFIX)" \ + --with-os-name="OpenWrt Linux" \ + --with-os-version="$(LINUX_VERSION)" \ + --with-os-url="http://openwrt.org/" \ + --with-db-path="/var/run/minidlna" \ + --with-log-path="/var/log" \ define Package/minidlna/install $(INSTALL_DIR) $(1)/usr/bin @@ -84,8 +81,4 @@ define Package/minidlna/install $(INSTALL_CONF) ./files/minidlna.config $(1)/etc/config/minidlna endef -define Package/minidlna/conffiles -/etc/config/minidlna -endef - $(eval $(call BuildPackage,minidlna)) diff --git a/multimedia/minidlna/files/minidlna.config b/multimedia/minidlna/files/minidlna.config index 459be3e8e..91a5cc330 100644 --- a/multimedia/minidlna/files/minidlna.config +++ b/multimedia/minidlna/files/minidlna.config @@ -1,5 +1,5 @@ config minidlna config - option 'enabled' '0' + option 'enabled' '1' option port '8200' option interface 'br-lan' option friendly_name 'OpenWrt DLNA Server'