]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/vdradmin
buildprocess: Add extra metadata to pak lfs files
[ipfire-2.x.git] / lfs / vdradmin
index 901e254544040406d6ff92b318994e5e551d613c..2abf8a943e334d88fdd8c68009f514967f0af43c 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+# Copyright (C) 2007-2020  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        #
@@ -25,7 +25,9 @@
 
 include Config
 
-VER        = 3.6.5
+SUMMARY    = VDRAdmin-AM, a web user interface for VDR
+
+VER        = 3.6.10
 
 THISAPP    = vdradmin-am-$(VER)
 DL_FILE    = $(THISAPP).tar.bz2
@@ -33,9 +35,11 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = vdradmin
-PAK_VER    = 2
+PAK_VER    = 6
+
+DEPS       = perl-gettext vdr vdr_epgsearch
 
-DEPS       = "perl-gettext vdr"
+SERVICES   = vdradmin
 
 ###############################################################################
 # Top-level Rules
@@ -45,7 +49,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 34ac04af6d1b0495f10cd06e85abb990
+$(DL_FILE)_MD5 = 467ff4a482be2a5331ad4224a1cb9d8e
 
 install : $(TARGET)
 
@@ -81,7 +85,14 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        export "LANG=de_DE"
        cp $(DIR_SRC)/config/vdradmin/install-ipfire.sh $(DIR_APP)/
        cd $(DIR_APP) && ./install-ipfire.sh
+
+       #install initscripts
+       $(call INSTALL_INITSCRIPTS,$(SERVICES))
+
        install -v -m 644 $(DIR_SRC)/config/vdradmin/vdradmind.conf \
                 /etc/vdradmin/vdradmind.conf
+       mkdir -pv /var/log/vdradmin
+       mkdir -pv /var/run/vdradmin
+       mkdir -pv /var/cache/vdradmin
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)