[packages] add 'sslcat' package
[openwrt/svn-archive/archive.git] / net / sslcat / Makefile
1 #
2 # Copyright (C) 2010 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:=sslcat
11 PKG_VERSION:=0.1
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME).tgz
15 PKG_SOURCE_URL:=http://www.bindshell.net/tools/sslcat/
16 PKG_MD5SUM:=27a88e2143cbfe216e13e9493bacd32e
17
18 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/sslcat
23 SECTION:=net
24 CATEGORY:=Network
25 TITLE:=A netcat like utility with SSL support
26 URL:=http://www.bindshell.net/tools/sslcat
27 DEPENDS:= +libopenssl
28 endef
29
30 define Package/sslcat/description
31 SSLCat is a simple Unix utility that reads and writes data across an
32 SSL enable network connection.
33 endef
34
35 CONFIGURE_ARGS+= \
36 --with-openssl=$(STAGING_DIR)/usr \
37
38 define Package/sslcat/install
39 $(INSTALL_DIR) $(1)/usr/bin
40 $(INSTALL_BIN) $(PKG_BUILD_DIR)/sslcat $(1)/usr/bin/
41 endef
42
43 $(eval $(call BuildPackage,sslcat))