X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=lfs%2Fminidlna;h=1a9020158b9548788c59ac0a1559b75d971df67f;hb=b4cb1ed58b9dbd7d40bd8e9710b7f323da8b8997;hp=d93a5c253388323e8bd21ec2c76d904d853135c0;hpb=9b4bd0e29e8f8f743884a327b0a90d2124a7ff97;p=people%2Fpmueller%2Fipfire-2.x.git diff --git a/lfs/minidlna b/lfs/minidlna index d93a5c2533..1a9020158b 100644 --- a/lfs/minidlna +++ b/lfs/minidlna @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007 Michael Tremer & Christian Schmidt # +# Copyright (C) 2007-2020 IPFire Team # # # # 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 # @@ -24,17 +24,19 @@ include Config -VER = 1.0.25 +VER = 1.2.1 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 = 6 -DEPS = "ffmpeg flac libexif libid3tag libogg" +DEPS = ffmpeg flac libexif libid3tag libogg + +CFLAGS += -fcommon ############################################################################### # Top-level Rules @@ -44,7 +46,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = d966256baf2f9b068b9de871ab5dade5 +$(DL_FILE)_MD5 = a968d3d84971322471cabda3669cc0f8 install : $(TARGET) @@ -77,10 +79,16 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) + $(UPDATE_AUTOMAKE) + 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)