Browse Source

Update minidlna to 1.1.3 version

lilik-openwrt-22.03
medaved 11 years ago
parent
commit
5d65cd1df5
2 changed files with 12 additions and 19 deletions
  1. +11
    -18
      multimedia/minidlna/Makefile
  2. +1
    -1
      multimedia/minidlna/files/minidlna.config

+ 11
- 18
multimedia/minidlna/Makefile View File

@ -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 <medavedik@gmail.com>
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))

+ 1
- 1
multimedia/minidlna/files/minidlna.config View File

@ -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'


Loading…
Cancel
Save