[package] minidlna/ffmpeg: add minidlna profile to ffmpeg
[openwrt/svn-archive/archive.git] / multimedia / minidlna / Makefile
1 #
2 # Copyright (C) 2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=minidlna
11 PKG_VERSION:=1.0.18
12 PKG_RELEASE:=2
13
14 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION)_src.tar.gz
15 PKG_SOURCE_URL:=@SF/minidlna
16 PKG_MD5SUM:=8681b100242f0a2fef93cab7cdef061e
17 PKG_BUILD_DIR:=$(BUILD_DIR)/minidlna
18
19 PKG_BUILD_PARALLEL:=0
20
21 include $(INCLUDE_DIR)/package.mk
22 include $(INCLUDE_DIR)/nls.mk
23
24 MAKE_VARS += \
25 ICONV_PREFIX="$(ICONV_PREFIX)" \
26 INTL_PREFIX="$(INTL_PREFIX)"
27
28 define Package/minidlna
29 SECTION:=multimedia
30 CATEGORY:=Multimedia
31 TITLE:=UPnP A/V & DLNA Media Server
32 URL:=http://minidlna.sourceforge.net/
33 DEPENDS:= +libpthread +libexif +libjpeg +libsqlite3 +libffmpeg \
34 +@FFMPEG_MINIDLNA_SUPPORT +libid3tag +libflac +libvorbis +libuuid \
35 $(ICONV_DEPENDS) $(INTL_DEPENDS)
36 endef
37
38 define Package/minidlna/description
39 MiniDLNA (aka ReadyDLNA) is server software with the aim of
40 being fully compliant with DLNA/UPnP-AV clients.
41 endef
42
43 define Package/minidlna/install
44 $(INSTALL_DIR) $(1)/etc
45 $(INSTALL_DATA) $(PKG_BUILD_DIR)/minidlna.conf $(1)/etc/
46 $(INSTALL_DIR) $(1)/usr/bin
47 $(INSTALL_BIN) $(PKG_BUILD_DIR)/minidlna $(1)/usr/bin/
48 $(INSTALL_DIR) $(1)/etc/init.d
49 $(INSTALL_BIN) ./files/minidlna.init $(1)/etc/init.d/minidlna
50 endef
51
52 $(eval $(call BuildPackage,minidlna))