2011-08-17 10:13:21 +00:00
|
|
|
#
|
2011-04-07 23:23:39 +00:00
|
|
|
# Copyright (C) 2010-2011 OpenWrt.org
|
2010-08-12 13:58:30 +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:=minidlna
|
2011-10-25 20:53:26 +00:00
|
|
|
PKG_VERSION:=1.0.22
|
2011-04-07 23:23:32 +00:00
|
|
|
PKG_RELEASE:=1
|
2010-08-12 13:58:30 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION)_src.tar.gz
|
|
|
|
PKG_SOURCE_URL:=@SF/minidlna
|
2011-10-25 20:53:26 +00:00
|
|
|
PKG_MD5SUM:=3de2f6b54f43bb998dfad3c8fa75cef3
|
2010-08-12 13:58:30 +00:00
|
|
|
|
2010-10-27 21:39:42 +00:00
|
|
|
PKG_BUILD_PARALLEL:=0
|
|
|
|
|
2010-08-12 13:58:30 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2011-02-02 18:54:24 +00:00
|
|
|
include $(INCLUDE_DIR)/nls.mk
|
2010-08-12 13:58:30 +00:00
|
|
|
|
2011-02-03 10:40:20 +00:00
|
|
|
MAKE_VARS += \
|
|
|
|
ICONV_PREFIX="$(ICONV_PREFIX)" \
|
|
|
|
INTL_PREFIX="$(INTL_PREFIX)"
|
|
|
|
|
2010-08-12 13:58:30 +00:00
|
|
|
define Package/minidlna
|
|
|
|
SECTION:=multimedia
|
|
|
|
CATEGORY:=Multimedia
|
|
|
|
TITLE:=UPnP A/V & DLNA Media Server
|
|
|
|
URL:=http://minidlna.sourceforge.net/
|
2011-02-02 18:54:24 +00:00
|
|
|
DEPENDS:= +libpthread +libexif +libjpeg +libsqlite3 +libffmpeg \
|
2011-10-17 10:41:49 +00:00
|
|
|
+libid3tag +libflac +libvorbis +libuuid \
|
2011-02-02 18:54:24 +00:00
|
|
|
$(ICONV_DEPENDS) $(INTL_DEPENDS)
|
2010-08-12 13:58:30 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/minidlna/description
|
|
|
|
MiniDLNA (aka ReadyDLNA) is server software with the aim of
|
|
|
|
being fully compliant with DLNA/UPnP-AV clients.
|
|
|
|
endef
|
|
|
|
|
2011-07-03 19:37:01 +00:00
|
|
|
define Package/minidlna/conffiles
|
|
|
|
/etc/minidlna.conf
|
|
|
|
endef
|
|
|
|
|
2010-08-12 13:58:30 +00:00
|
|
|
define Package/minidlna/install
|
|
|
|
$(INSTALL_DIR) $(1)/etc
|
|
|
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/minidlna.conf $(1)/etc/
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/minidlna $(1)/usr/bin/
|
|
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
|
|
|
$(INSTALL_BIN) ./files/minidlna.init $(1)/etc/init.d/minidlna
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,minidlna))
|