Fixed build and core 11

This commit is contained in:
Christian Schmidt
2008-04-06 16:41:02 +02:00
parent e65017ca4c
commit 3900a6c7b6
5 changed files with 13 additions and 27 deletions

View 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,8 @@ $(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
@rm -rf $(DIR_APP)
@$(POSTBUILD)