3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=cd887f379f303dd3ef691d8641307f0e
10 PKG_SOURCE
:=axTLS-
$(PKG_VERSION
).
tar.gz
11 PKG_SOURCE_URL
:=http
://www.leroc.com.au
/axTLS
/
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/axTLS
16 include $(TOPDIR
)/package
/rules.mk
18 $(eval
$(call PKG_template
,LIBAXTLS
,libaxtls
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
19 $(eval
$(call PKG_template
,AWHTTPD
,awhttpd
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
21 $(PKG_BUILD_DIR
)/.configured
:
22 $(CP
) .
/files
/config
$(PKG_BUILD_DIR
)/config
/.config
23 $(MAKE
) -C
$(PKG_BUILD_DIR
) oldconfig
26 $(PKG_BUILD_DIR
)/.built
:
27 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
29 OPT_CFLAGS
="$(TARGET_CFLAGS)" OPT_LDFLAGS
=""
33 install -d
-m0755
$(IDIR_LIBAXTLS
)/usr
/lib
34 install -m0755
$(PKG_BUILD_DIR
)/libaxtls.so
$(IDIR_LIBAXTLS
)/usr
/lib
/
35 $(RSTRIP
) $(IDIR_LIBAXTLS
)
36 $(IPKG_BUILD
) $(IDIR_LIBAXTLS
) $(PACKAGE_DIR
)
39 install -d
-m0755
$(IDIR_AWHTTPD
)/usr
/sbin
40 install -m0755
$(PKG_BUILD_DIR
)/awhttpd
$(IDIR_AWHTTPD
)/usr
/sbin
/
41 $(RSTRIP
) $(IDIR_AWHTTPD
)
42 $(IPKG_BUILD
) $(IDIR_AWHTTPD
) $(PACKAGE_DIR
)