2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR)/rules.mk
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
16 PKG_SOURCE_URL:=http://www.lowth.com/cutter/software/
17 PKG_MD5SUM:=50093db9b64277643969ee75b83ebbd1
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
21 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
23 include $(INCLUDE_DIR)/package.mk
28 TITLE:=allows an user to abort TCP/IP connections
30 Cutter is an open source program that allows Linux firewall \\\
31 administrators to abort TCP/IP connections routed over the \\\
32 firewall or router on which it is run.
33 URL:=http://www.lowth.com/cutter/
37 $(TARGET_CC) $(PKG_BUILD_DIR)/cutter.c -o $(PKG_BUILD_DIR)/cutter
38 $(INSTALL_DIR) $(PKG_INSTALL_DIR)/usr/sbin
39 $(INSTALL_BIN) $(PKG_BUILD_DIR)/cutter $(PKG_INSTALL_DIR)/usr/sbin/
42 define Package/cutter/install
43 $(INSTALL_DIR) $(1)/usr/sbin
44 $(CP) $(PKG_INSTALL_DIR)/usr/sbin/cutter $(1)/usr/sbin/
47 $(eval $(call BuildPackage,cutter))