###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007 Michael Tremer & Christian Schmidt #
+# Copyright (C) 2007-2012 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 = 20080105
+VER = 20130331
THISAPP = w_scan-$(VER)
DL_FILE = $(THISAPP).tar.bz2
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = w_scan
-PAK_VER = 1
+PAK_VER = 5
DEPS = ""
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = 9541244559d2da9442a137f7891d45d3
+$(DL_FILE)_MD5 = dfc14a4707321e068a594d6899398df8
install : $(TARGET)
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && patch < $(DIR_SRC)/src/patches/w_scan-ipfire.patch
- cd $(DIR_APP) && make
- cd $(DIR_APP) && install -m 755 w_scan /opt/vdr/bin/
- cd $(DIR_APP) && install -m 755 w_scan_start.sh /opt/vdr/bin/
+ cd $(DIR_APP) && ./configure --prefix=/usr
+ cd $(DIR_APP) && make $(MAKETUNING)
+ cd $(DIR_APP) && make install
+ install -m 755 $(DIR_SRC)/config/w_scan/w_scan_start /usr/bin/
@rm -rf $(DIR_APP)
@$(POSTBUILD)