]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/minidlna
slang: revert parallelized build
[ipfire-2.x.git] / lfs / minidlna
index 47fe270bd64c07bd2302181a628904b903d6e0ae..6368004ed7d061f173b36ef4a6190e94ea9223b1 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+# Copyright (C) 2007-2018  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
 
 include Config
 
-VER        = 1.0.25
+VER        = 1.1.3
 
 THISAPP    = minidlna-$(VER)
-DL_FILE    = minidlna_$(VER)_src.tar.gz
+DL_FILE    = minidlna-$(VER).tar.gz
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = minidlna
-PAK_VER    = 1
+PAK_VER    = 4
 
 DEPS       = "ffmpeg flac libexif libid3tag libogg"
 
@@ -44,7 +44,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = d966256baf2f9b068b9de871ab5dade5
+$(DL_FILE)_MD5 = 879027192c89e5376cdd2ae2d1aa33b4
 
 install : $(TARGET)
 
@@ -77,11 +77,15 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
-       cd $(DIR_APP) && sed -i '/include/a #include <limits.h>/' metadata.c
+       cd $(DIR_APP) && ./configure --prefix=/usr
        cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE)
        cd $(DIR_APP) && make install
 
        # Install configuration.
        install -m 644 $(DIR_SRC)/config/minidlna/minidlna.conf /etc
+
+       #install initscripts
+       $(call INSTALL_INITSCRIPT,minidlna)
+
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)