summaryrefslogtreecommitdiff
path: root/package/minidlna/Makefile
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2025-01-06 01:27:12 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2025-01-06 11:53:44 +0100
commitbe735c88debdd1e3207af9c403e3c594798a3944 (patch)
tree0c99b2831a3e8b3add3070f8076177f2845b1279 /package/minidlna/Makefile
parentfad1d3192c26fae8423907c9de6af2fe2b03dea6 (diff)
package: Port minidlna
This is a more capable alternative to gmediaserver. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'package/minidlna/Makefile')
-rw-r--r--package/minidlna/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/package/minidlna/Makefile b/package/minidlna/Makefile
new file mode 100644
index 000000000..2a51c978d
--- /dev/null
+++ b/package/minidlna/Makefile
@@ -0,0 +1,29 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= minidlna
+PKG_VERSION:= 1.3.3
+PKG_RELEASE:= 1
+PKG_HASH:= 39026c6d4a139b9180192d1c37225aa3376fdf4f1a74d7debbdbb693d996afa4
+PKG_DESCR:= DLNA/UPnP-AV compliant media server
+PKG_SECTION:= mm/video
+PKG_DEPENDS:= libffmpeg libjpeg-turbo libexif libid3tag libogg libflac libvorbis libsqlite libiconv
+PKG_BUILDDEP:= ffmpeg libjpeg-turbo libexif libid3tag libogg flac libvorbis sqlite libiconv
+PKG_URL:= http://sourceforge.net/projects/minidlna/
+PKG_SITES:= $(MASTER_SITE_SOURCEFORGE:=minidlna/)
+DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,MINIDLNA,minidlna,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
+
+minidlna-install:
+ $(INSTALL_DIR) $(IDIR_MINIDLNA)/usr/sbin
+ $(INSTALL_BIN) $(WRKINST)/usr/sbin/minidlnad \
+ $(IDIR_MINIDLNA)/usr/sbin
+ $(INSTALL_DIR) $(IDIR_MINIDLNA)/etc/
+ $(INSTALL_DATA) $(WRKSRC)/minidlna.conf $(IDIR_MINIDLNA)/etc/
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk