1 # Copyright (C) 2006 OpenWrt.org
3 # This is free software, licensed under the GNU General Public License v2.
4 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
13 PKG_MD5SUM
:=50093db9b64277643969ee75b83ebbd1
15 PKG_SOURCE_URL
:=http
://www.lowth.com
/cutter
/software
/
16 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).tgz
17 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
19 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
21 include $(INCLUDE_DIR
)/package.mk
26 TITLE
:=allows an user to abort TCP
/IP connections
27 DESCRIPTION
:="Cutter" is an open source program that allows Linux firewall
\\\
28 administrators to abort TCP
/IP connections routed over the
\\\
29 firewall or router on which it is run.
\\\
30 URL
:=http
://www.lowth.com
/cutter
/
34 $(TARGET_CC
) $(PKG_BUILD_DIR
)/cutter.c
-o
$(PKG_BUILD_DIR
)/cutter
35 install -d
-m0755
$(PKG_INSTALL_DIR
)/usr
/sbin
36 install -m0755
$(PKG_BUILD_DIR
)/cutter
$(PKG_INSTALL_DIR
)/usr
/sbin
/
39 define Package
/cutter
/install
41 $(CP
) $(PKG_INSTALL_DIR
)/* $(1)/
44 $(eval
$(call BuildPackage
,cutter
))