2006-07-19 06:53:07 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
# $Id$
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=axtls
|
2006-08-08 23:58:54 +00:00
|
|
|
PKG_VERSION:=1.01
|
2006-07-19 06:53:07 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/axTLS
|
|
|
|
PKG_SOURCE:=axTLS-$(PKG_VERSION).tar.gz
|
2006-08-09 00:36:24 +00:00
|
|
|
PKG_SOURCE_URL:=@SF/axtls http://www.leroc.com.au/axTLS/
|
2006-08-08 23:58:54 +00:00
|
|
|
PKG_MD5SUM:=ff71cb64234cad020f92bffa534ab2b8
|
2006-07-19 06:53:07 +00:00
|
|
|
PKG_CAT:=zcat
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/libaxtls
|
|
|
|
SECTION:=libs
|
|
|
|
CATEGORY:=Libraries
|
|
|
|
TITLE:=Embedded client/server TLSv1 SSL library
|
2006-08-18 21:21:06 +00:00
|
|
|
DEPENDS:=libgdbm
|
2006-07-19 06:53:07 +00:00
|
|
|
DESCRIPTION:=Embedded client/server TLSv1 SSL library.
|
2006-08-09 00:36:24 +00:00
|
|
|
URL:=http://sourceforge.net/projects/axtls
|
2006-07-19 06:53:07 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/awhttpd
|
2006-07-26 01:26:21 +00:00
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
DEPENDS:=+libaxtls
|
2006-07-19 06:53:07 +00:00
|
|
|
TITLE:=Anti-Web webserver
|
|
|
|
DESCRIPTION:=Anti-Web webserver.
|
|
|
|
URL:=http://www.axtls.co.nr/
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Configure
|
|
|
|
$(CP) ./files/config $(PKG_BUILD_DIR)/config/.config
|
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR) oldconfig
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
2006-08-04 03:28:27 +00:00
|
|
|
CC="$(TARGET_CC)" \
|
2006-07-19 06:53:07 +00:00
|
|
|
OPT_CFLAGS="$(TARGET_CFLAGS)" OPT_LDFLAGS=""
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/libaxtls/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/libaxtls.so $(1)/usr/lib/
|
2006-07-19 06:53:07 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/awhttpd/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/awhttpd $(1)/usr/sbin/
|
2006-07-19 06:53:07 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,libaxtls))
|
|
|
|
$(eval $(call BuildPackage,awhttpd))
|