]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/squidclamav
Addedd include file for squidclamav
[people/pmueller/ipfire-2.x.git] / lfs / squidclamav
index dfd0512b3081b266185f04cc06da54d66c473fe6..638bf98f100c86ed23e78a4345c62b51a1733743 100644 (file)
@@ -34,6 +34,8 @@ TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = squidclamav
 PAK_VER    = 1
 
+DEPS       = "clamav"
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################
@@ -52,6 +54,9 @@ download :$(patsubst %,$(DIR_DL)/%,$(objects))
 
 md5 : $(subst %,%_MD5,$(objects))
 
+dist: 
+       @$(PAK)
+
 ###############################################################################
 # Downloading, checking, md5sum
 ###############################################################################
@@ -72,10 +77,9 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
-       cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/squidGuard-$(VER)-20071117.patch
        cd $(DIR_APP) && ./configure --prefix=/usr
-       cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
-       cp -f  $(DIR_SRC)/squidclamav/squidclamav.conf /etc/squidclamav.conf
+       cp -f  $(DIR_CONF)/squidclamav/squidclamav.conf /etc/squidclamav.conf
+       install -v -m 644 $(DIR_SRC)/config/backup/includes/squidclamav /var/ipfire/backup/addons/includes/squidclamav
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)