[PATCH] Fix missing sqlite package[PATCH] Fix missing sqlite package
[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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=cutter
11 PKG_VERSION:=1.03
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
15 PKG_SOURCE_URL:=http://www.lowth.com/cutter/software/
16 PKG_MD5SUM:=50093db9b64277643969ee75b83ebbd1
17
18 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/cutter
23 SECTION:=net
24 CATEGORY:=Network
25 TITLE:=allows an user to abort TCP/IP connections
26 URL:=http://www.lowth.com/cutter/
27 endef
28
29 define Package/cutter/description
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 endef
34
35 define Build/Compile
36 $(TARGET_CC) $(PKG_BUILD_DIR)/cutter.c -o $(PKG_BUILD_DIR)/cutter
37 endef
38
39 define Package/cutter/install
40 $(INSTALL_DIR) $(1)/usr/sbin
41 $(INSTALL_BIN) $(PKG_BUILD_DIR)/cutter $(1)/usr/sbin/
42 endef
43
44 $(eval $(call BuildPackage,cutter))