Changeset 8655


Ignore:
Timestamp:
2007-09-06T19:21:41+02:00 (10 years ago)
Author:
olli
Message:

libtasn1:

  • Update 0.2.13 > 1.1
  • Cleanup Makefile
Location:
packages/libs/libtasn1
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • packages/libs/libtasn1/Makefile

    • Property copyright changed from Copyright (C) 2006 OpenWrt.org to Copyright (C) 2007 OpenWrt.org
    r5624 r8655  
    11#  
    2 # Copyright (C) 2006 OpenWrt.org 
     2# Copyright (C) 2007 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1010 
    1111PKG_NAME:=libtasn1 
    12 PKG_VERSION:=0.2.13 
    13 PKG_RELEASE:=0 
     12PKG_VERSION:=1.1 
     13PKG_RELEASE:=1 
    1414 
    1515PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
     
    1919        ftp://ftp.mirrors.wiretapped.net/pub/security/network-security/gnutls/libtasn1/ \ 
    2020        http://josefsson.org/gnutls/releases/libtasn1/ 
    21 PKG_MD5SUM:=d124b11908cfb88883fe71472c25d53a 
    22 PKG_CAT:=zcat 
    23  
    24 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) 
    25 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install 
     21PKG_MD5SUM:=93b43cc5013bda4d8bf64508f1566c54 
    2622 
    2723include $(INCLUDE_DIR)/package.mk 
     
    3127  CATEGORY:=Libraries 
    3228  TITLE:=An ASN.1 and DER structures manipulation library 
    33   DESCRIPTION:=\ 
    34         This is a library for Abstract Syntax Notation One (ASN.1) and \\\ 
    35         Distinguish Encoding Rules (DER) manipulation. 
    3629  URL:=ftp://ftp.gnutls.org/pub/gnutls/libtasn1/ 
    3730endef 
    3831 
     32define Package/libtasn1/description 
     33 This is a library for Abstract Syntax Notation One (ASN.1) and  
     34 Distinguish Encoding Rules (DER) manipulation. 
     35endef 
     36 
    3937define Build/Configure 
    40         (cd $(PKG_BUILD_DIR); touch \ 
    41                 configure.ac \ 
    42                 acinclude.m4 \ 
    43                 aclocal.m4 \ 
    44                 Makefile.in \ 
    45                 config.h.in \ 
    46                 configure \ 
    47         ); 
    4838        $(call Build/Configure/Default, \ 
    4939                --enable-shared \ 
    5040                --enable-static \ 
    5141        ) 
     42        $(call libtool_disable_rpath) 
    5243endef 
    5344 
    5445define Build/Compile 
    55         $(MAKE) -C $(PKG_BUILD_DIR) \ 
    56                 DESTDIR="$(PKG_INSTALL_DIR)" \ 
    57                 all install 
     46        $(MAKE) -C $(PKG_BUILD_DIR) all 
     47        $(call libtool_fixup_libdir,$(PKG_INSTALL_DIR)) 
     48        $(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" all install 
    5849endef 
    5950 
     
    6556        mkdir -p $(STAGING_DIR)/usr/lib 
    6657        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libtasn1.{a,so*} $(STAGING_DIR)/usr/lib/ 
    67         mkdir -p $(STAGING_DIR)/usr/share/aclocal 
    68         $(CP) $(PKG_INSTALL_DIR)/usr/share/aclocal/libtasn1.m4 $(STAGING_DIR)/usr/share/aclocal/ 
     58        $(SED) 's,-I$$$${prefix}/include,,g' $(STAGING_DIR)/usr/bin/libtasn1-config 
     59        $(SED) 's,-L$$$${exec_prefix}/lib,,g' $(STAGING_DIR)/usr/bin/libtasn1-config 
    6960endef 
    7061 
Note: See TracChangeset for help on using the changeset viewer.