Remove executable bit from these Makefiles. Closes #728
[openwrt/svn-archive/archive.git] / net / peerguardian / Makefile
1 # Copyright (C) 2006 OpenWrt.org
2 #
3 # This is free software, licensed under the GNU General Public License v2.
4 # See /LICENSE for more information.
5 #
6 # $Id$
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=peerguardian
11 PKG_VERSION:=1.5beta
12 PKG_RELEASE:=1
13 PKG_MD5SUM:=0fb2bc5501b031604fc56eec3bd35fa4
14
15 PKG_SOURCE_URL:=@SF/peerguardian
16 PKG_SOURCE:=pglinux-$(PKG_VERSION).tar.gz
17 PKG_BUILD_DIR:=$(BUILD_DIR)/pglinux-$(PKG_VERSION)
18 PKG_CAT:=zcat
19 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/peerguardian
24 SECTION:=net
25 CATEGORY:=Network
26 DEPENDS:=+libpthread +libncurses +iptables
27 TITLE:=PeerGuardian for Linux
28 DESCRIPTION:=PeerGuardian helps protect your privacy by blocking many ranges\\\
29 of aggressive IPs while you use P2P.\\\
30 URL:=http://phoenixlabs.org/
31 endef
32
33 define Package/peerguardian/conffiles
34 /etc/PG.conf
35 /etc/p2p.p2b.p2p
36 endef
37
38 define Package/peerguardian/install
39 install -d -m0755 $(1)/usr/sbin $(1)/etc/init.d
40 install -m0755 $(PKG_BUILD_DIR)/peerguardnf $(1)/usr/sbin/
41 install -m0755 $(PKG_BUILD_DIR)/pgtext $(1)/usr/sbin/
42 install -m0644 $(PKG_BUILD_DIR)/PG.conf $(1)/etc/
43 install -m0644 $(PKG_BUILD_DIR)/p2p.p2b.p2p $(1)/etc/
44 install -m0644 files/peerguardian.init $(1)/etc/init.d/peerguardian
45 endef
46
47 $(eval $(call BuildPackage,peerguardian))