[packages] ntpd: * use libcap to drop roots privileges
[packages.git] / net / cutter / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=cutter
11 PKG_VERSION:=1.03
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
15 PKG_SOURCE_URL:=http://www.lowth.com/cutter/software/
16 PKG_MD5SUM:=50093db9b64277643969ee75b83ebbd1
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/cutter
21   SECTION:=net
22   CATEGORY:=Network
23   TITLE:=allows an user to abort TCP/IP connections
24   URL:=http://www.lowth.com/cutter/
25 endef
26
27 define Package/cutter/description
28         Cutter is an open source program that allows Linux firewall 
29         administrators to abort TCP/IP connections routed over the 
30         firewall or router on which it is run.
31 endef
32         
33 define Build/Compile
34         $(TARGET_CC) $(PKG_BUILD_DIR)/cutter.c -o $(PKG_BUILD_DIR)/cutter
35 endef
36         
37 define Package/cutter/install
38         $(INSTALL_DIR) $(1)/usr/sbin
39         $(INSTALL_BIN) $(PKG_BUILD_DIR)/cutter $(1)/usr/sbin/
40 endef
41
42 $(eval $(call BuildPackage,cutter))