DESCRIPTION:= is obselete
[openwrt/svn-archive/archive.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 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=cutter
12 PKG_VERSION:=1.03
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
16 PKG_SOURCE_URL:=http://www.lowth.com/cutter/software/
17 PKG_MD5SUM:=50093db9b64277643969ee75b83ebbd1
18 PKG_CAT:=zcat
19
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/cutter
25 SECTION:=net
26 CATEGORY:=Network
27 TITLE:=allows an user to abort TCP/IP connections
28 URL:=http://www.lowth.com/cutter/
29 endef
30
31 define Package/cutter/description
32 Cutter is an open source program that allows Linux firewall
33 administrators to abort TCP/IP connections routed over the
34 firewall or router on which it is run.
35 endef
36
37 define Build/Compile
38 $(TARGET_CC) $(PKG_BUILD_DIR)/cutter.c -o $(PKG_BUILD_DIR)/cutter
39 endef
40
41 define Package/cutter/install
42 $(INSTALL_DIR) $(1)/usr/sbin
43 $(INSTALL_BIN) $(PKG_BUILD_DIR)/cutter $(1)/usr/sbin/
44 endef
45
46 $(eval $(call BuildPackage,cutter))