ksymoops: remove package, it has been obsolete and useless for a long time
[openwrt.org/packages.git] / net / Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#
# Copyright (C) 2008-2009 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
 
include $(TOPDIR)/rules.mk
 
PKG_NAME:=dansguardian
PKG_VERSION:=2.10.1.1
PKG_RELEASE:=2
 
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://dansguardian.org/downloads/2/Stable
PKG_MD5SUM:=0987a1c9bfbdf398118386f10279611a
 
PKG_INSTALL:=1
 
include $(INCLUDE_DIR)/uclibc++.mk
include $(INCLUDE_DIR)/package.mk
 
define Package/dansguardian
  SECTION:=net
  DEPENDS:=+libpthread $(CXX_DEPENDS) +zlib
  CATEGORY:=Network
  SUBMENU:=Web Servers/Proxies
  TITLE:=DansGuardian
  URL:=http://dansguardian.org
endef
 
define Package/dansguardian/conffiles
/etc/dansguardian/dansguardian.conf
endef
 
CONFIGURE_VARS += \
        INCLUDES="" \
        CXXFLAGS="$$$$CXXFLAGS -fno-rtti"  \
        LIBS="-lpthread" \
 
define Build/Configure
        $(call Build/Configure/Default,\
                --disable-clamav \
                --with-sysconfsubdir=dansguardian \
                --with-proxyuser=root \
                --with-proxygroup=root \
                --disable-pcre \
        )
endef
 
define Package/dansguardian/install
        $(INSTALL_DIR) $(1)/usr/sbin
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/dansguardian $(1)/usr/sbin/
        $(INSTALL_DIR) $(1)/etc
        $(CP) $(PKG_INSTALL_DIR)/etc/dansguardian $(1)/etc/
        $(INSTALL_DIR) $(1)/usr/share/dansguardian
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/share/dansguardian/transparent1x1.gif $(1)/usr/share/dansguardian/
        $(INSTALL_DIR) $(1)/usr/share/dansguardian/languages/ukenglish
        $(CP) $(PKG_INSTALL_DIR)/usr/share/dansguardian/languages/ukenglish/* $(1)/usr/share/dansguardian/languages/ukenglish/
endef
 
$(eval $(call BuildPackage,dansguardian))
 
comments