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_BUILD_DIR
:=$(BUILD_DIR
)/axTLS
16 PKG_SOURCE
:=axTLS-
$(PKG_VERSION
).
tar.gz
17 PKG_SOURCE_URL
:=http
://www.leroc.com.au
/axTLS
/
18 PKG_MD5SUM
:=cd887f379f303dd3ef691d8641307f0e
21 include $(INCLUDE_DIR
)/package.mk
23 define Package
/libaxtls
26 TITLE
:=Embedded client
/server TLSv1 SSL library
27 DESCRIPTION
:=Embedded client
/server TLSv1 SSL library.
28 URL
:=http
://www.axtls.
co.nr
/
31 define Package
/awhttpd
35 TITLE
:=Anti-Web webserver
36 DESCRIPTION
:=Anti-Web webserver.
37 URL
:=http
://www.axtls.
co.nr
/
40 define Build
/Configure
41 $(CP
) .
/files
/config
$(PKG_BUILD_DIR
)/config
/.config
42 $(MAKE
) -C
$(PKG_BUILD_DIR
) oldconfig
46 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
48 OPT_CFLAGS
="$(TARGET_CFLAGS)" OPT_LDFLAGS
=""
51 define Package
/libaxtls
/install
52 install -d
-m0755
$(1)/usr
/lib
53 install -m0755
$(PKG_BUILD_DIR
)/libaxtls.so
$(1)/usr
/lib
/
56 define Package
/awhttpd
/install
57 install -d
-m0755
$(1)/usr
/sbin
58 install -m0755
$(PKG_BUILD_DIR
)/awhttpd
$(1)/usr
/sbin
/
61 $(eval
$(call BuildPackage
,libaxtls
))
62 $(eval
$(call BuildPackage
,awhttpd
))