packages/net/cutter/Makefile
nbd 996067d6b3 nuke $Id$ in /packages as well
git-svn-id: svn://svn.openwrt.org/openwrt/packages@15244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-17 14:22:30 +00:00

45 lines
1.1 KiB
Makefile

#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=cutter
PKG_VERSION:=1.03
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=http://www.lowth.com/cutter/software/
PKG_MD5SUM:=50093db9b64277643969ee75b83ebbd1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
define Package/cutter
SECTION:=net
CATEGORY:=Network
TITLE:=allows an user to abort TCP/IP connections
URL:=http://www.lowth.com/cutter/
endef
define Package/cutter/description
Cutter is an open source program that allows Linux firewall
administrators to abort TCP/IP connections routed over the
firewall or router on which it is run.
endef
define Build/Compile
$(TARGET_CC) $(PKG_BUILD_DIR)/cutter.c -o $(PKG_BUILD_DIR)/cutter
endef
define Package/cutter/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/cutter $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,cutter))