Changeset 4164


Ignore:
Timestamp:
2006-07-19T08:53:07+02:00 (12 years ago)
Author:
nico
Message:

port axtls to buildroot-ng

Location:
packages/libs/axtls
Files:
2 deleted
1 edited
2 copied

Legend:

Unmodified
Added
Removed
  • packages/libs/axtls/Makefile

    r3795 r4164  
     1#  
     2# Copyright (C) 2006 OpenWrt.org 
     3# 
     4# This is free software, licensed under the GNU General Public License v2. 
     5# See /LICENSE for more information. 
     6# 
    17# $Id$ 
    28 
     
    612PKG_VERSION:=0.95 
    713PKG_RELEASE:=1 
    8 PKG_MD5SUM:=cd887f379f303dd3ef691d8641307f0e 
    914 
     15PKG_BUILD_DIR:=$(BUILD_DIR)/axTLS 
    1016PKG_SOURCE:=axTLS-$(PKG_VERSION).tar.gz 
    1117PKG_SOURCE_URL:=http://www.leroc.com.au/axTLS/ 
     18PKG_MD5SUM:=cd887f379f303dd3ef691d8641307f0e 
    1219PKG_CAT:=zcat 
    1320 
    14 PKG_BUILD_DIR:=$(BUILD_DIR)/axTLS 
     21include $(INCLUDE_DIR)/package.mk 
    1522 
    16 include $(TOPDIR)/package/rules.mk 
     23define Package/libaxtls 
     24  SECTION:=libs 
     25  CATEGORY:=Libraries 
     26  TITLE:=Embedded client/server TLSv1 SSL library 
     27  DESCRIPTION:=Embedded client/server TLSv1 SSL library. 
     28  URL:=http://www.axtls.co.nr/ 
     29endef 
    1730 
    18 $(eval $(call PKG_template,LIBAXTLS,libaxtls,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) 
    19 $(eval $(call PKG_template,AWHTTPD,awhttpd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) 
     31define Package/awhttpd 
     32  SECTION:=libs 
     33  CATEGORY:=Libraries 
     34  DEPENDS:=libaxtls 
     35  TITLE:=Anti-Web webserver 
     36  DESCRIPTION:=Anti-Web webserver. 
     37  URL:=http://www.axtls.co.nr/ 
     38endef 
    2039 
    21 $(PKG_BUILD_DIR)/.configured: 
     40define Build/Configure 
    2241        $(CP) ./files/config $(PKG_BUILD_DIR)/config/.config 
    2342        $(MAKE) -C $(PKG_BUILD_DIR) oldconfig 
    24         touch $@ 
     43endef 
    2544 
    26 $(PKG_BUILD_DIR)/.built: 
     45define Build/Compile 
    2746        $(MAKE) -C $(PKG_BUILD_DIR) \ 
    2847                CC=$(TARGET_CC) \ 
    2948                OPT_CFLAGS="$(TARGET_CFLAGS)" OPT_LDFLAGS="" 
    30         touch $@ 
     49endef 
    3150 
    32 $(IPKG_LIBAXTLS): 
    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) 
     51define Package/libaxtls/install 
     52        install -d -m0755 $(1)/usr/lib 
     53        install -m0755 $(PKG_BUILD_DIR)/libaxtls.so $(1)/usr/lib/ 
     54endef 
    3755 
    38 $(IPKG_AWHTTPD): 
    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) 
     56define Package/awhttpd/install 
     57        install -d -m0755 $(1)/usr/sbin 
     58        install -m0755 $(PKG_BUILD_DIR)/awhttpd $(1)/usr/sbin/ 
     59endef 
     60 
     61$(eval $(call BuildPackage,libaxtls)) 
     62$(eval $(call BuildPackage,awhttpd)) 
Note: See TracChangeset for help on using the changeset viewer.