mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-14 13:49:42 +02:00
63ef5186e1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3795 3c298f89-4303-0410-b956-a3cf2f4a3e73
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# $Id$
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=axtls
|
|
PKG_VERSION:=0.95
|
|
PKG_RELEASE:=1
|
|
PKG_MD5SUM:=cd887f379f303dd3ef691d8641307f0e
|
|
|
|
PKG_SOURCE:=axTLS-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=http://www.leroc.com.au/axTLS/
|
|
PKG_CAT:=zcat
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/axTLS
|
|
|
|
include $(TOPDIR)/package/rules.mk
|
|
|
|
$(eval $(call PKG_template,LIBAXTLS,libaxtls,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|
$(eval $(call PKG_template,AWHTTPD,awhttpd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|
|
|
$(PKG_BUILD_DIR)/.configured:
|
|
$(CP) ./files/config $(PKG_BUILD_DIR)/config/.config
|
|
$(MAKE) -C $(PKG_BUILD_DIR) oldconfig
|
|
touch $@
|
|
|
|
$(PKG_BUILD_DIR)/.built:
|
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
|
CC=$(TARGET_CC) \
|
|
OPT_CFLAGS="$(TARGET_CFLAGS)" OPT_LDFLAGS=""
|
|
touch $@
|
|
|
|
$(IPKG_LIBAXTLS):
|
|
install -d -m0755 $(IDIR_LIBAXTLS)/usr/lib
|
|
install -m0755 $(PKG_BUILD_DIR)/libaxtls.so $(IDIR_LIBAXTLS)/usr/lib/
|
|
$(RSTRIP) $(IDIR_LIBAXTLS)
|
|
$(IPKG_BUILD) $(IDIR_LIBAXTLS) $(PACKAGE_DIR)
|
|
|
|
$(IPKG_AWHTTPD):
|
|
install -d -m0755 $(IDIR_AWHTTPD)/usr/sbin
|
|
install -m0755 $(PKG_BUILD_DIR)/awhttpd $(IDIR_AWHTTPD)/usr/sbin/
|
|
$(RSTRIP) $(IDIR_AWHTTPD)
|
|
$(IPKG_BUILD) $(IDIR_AWHTTPD) $(PACKAGE_DIR)
|