branch Attitude Adjustment packages
[12.09/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   DEPENDS:=@BROKEN
26 endef
27
28 define Package/cutter/description
29         Cutter is an open source program that allows Linux firewall 
30         administrators to abort TCP/IP connections routed over the 
31         firewall or router on which it is run.
32 endef
33         
34 define Build/Compile
35         $(TARGET_CC) $(PKG_BUILD_DIR)/cutter.c -o $(PKG_BUILD_DIR)/cutter
36 endef
37         
38 define Package/cutter/install
39         $(INSTALL_DIR) $(1)/usr/sbin
40         $(INSTALL_BIN) $(PKG_BUILD_DIR)/cutter $(1)/usr/sbin/
41 endef
42
43 $(eval $(call BuildPackage,cutter))