UCIfied Polipo (patch by "SnapShot_")
[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
19 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/cutter
24 SECTION:=net
25 CATEGORY:=Network
26 TITLE:=allows an user to abort TCP/IP connections
27 URL:=http://www.lowth.com/cutter/
28 endef
29
30 define Package/cutter/description
31 Cutter is an open source program that allows Linux firewall
32 administrators to abort TCP/IP connections routed over the
33 firewall or router on which it is run.
34 endef
35
36 define Build/Compile
37 $(TARGET_CC) $(PKG_BUILD_DIR)/cutter.c -o $(PKG_BUILD_DIR)/cutter
38 endef
39
40 define Package/cutter/install
41 $(INSTALL_DIR) $(1)/usr/sbin
42 $(INSTALL_BIN) $(PKG_BUILD_DIR)/cutter $(1)/usr/sbin/
43 endef
44
45 $(eval $(call BuildPackage,cutter))