================================ libtasn1:source=2.3-1 (previous: 1.5-1) cvc rdiff libtasn1 -1 /weasel.rpath.org@wgl:3-devel/2.3-1 ================================ 2.3-1 Filip Brcic (brcha@xxxxxxx) Wed Jan 27 20:03:21 2010 version bump + fixed metadata libtasn1-2.3.tar.gz: new libtasn1.recipe: changed Index: libtasn1.recipe ==================================================================== contents(size sha1) inode(mtime) --- libtasn1.recipe /weasel.rpath.org@wgl:3-devel/1.5-1 +++ libtasn1.recipe /weasel.rpath.org@wgl:3-devel/2.3-1 @@ -1,47 +1,24 @@ # -# Copyright (c) 2009 Filip Brcic <brcha@xxxxxxx> +# Copyright (c) 2009-2010 Filip Brcic <brcha@xxxxxxx> # Distributed under the terms of the GNU General Public License v3 # class Libtasn1(AutoPackageRecipe): name = 'libtasn1' - version = '1.5' + version = '2.3' buildRequires = [ - 'bison:runtime', 'install-info:runtime', + 'install-info:runtime', 'pkg-config:devel', 'bison:runtime', ] - if Arch.x86_64: - buildRequires.extend(['multiarch_wrapper:runtime']) + shortDesc = 'ASN.1 library from GnuTLS' + longDesc = """ +Libtasn1 is the ASN.1 library used by GnuTLS, GNU Shishi and some +other packages. It was written by Fabio Fiorina, and has been shipped +as part of GnuTLS for some time but is now a proper GNU package. +""" + url = 'http://www.gnu.org/software/libtasn1/' + licenses = [ 'LGPL-2.1', 'GPL-3' ] def unpack(r): - r.Description(shortDesc='ASN.1 library from GnuTLS', - longDesc='Libtasn1 is the ASN.1 library used by GnuTLS, GNU Shishi and some other packages. It was written by Fabio Fiorina, and has been shipped as part of GnuTLS for some time but is now a proper GNU package.') - r.PackageURL('http://www.gnu.org/software/libtasn1/') - r.Licenses('LGPL') r.addArchive('ftp://ftp.gnutls.org/pub/gnutls/libtasn1/') - - if Arch.x86_64: - # First build 32bit version - macros32 = r.macros.copy() - macros32.cc = '"gcc -m32"' - macros32.cxx = '"g++ -m32"' - macros32.libdir = '%(prefix)s/lib' - - r.Run('cp -a %(builddir)s %(builddir)s/../32bit') - - r.Configure(dir='../32bit', overrideMacros=macros32) - r.Make(dir='../32bit', overrideMacros=macros32) - r.MakeInstall(dir='../32bit', overrideMacros=macros32) - - r.Move('%(bindir)s/libtasn1-config', '%(bindir)s/libtasn1-config-32') - r.ComponentSpec('devel', '%(bindir)s/libtasn1-config-32') - - r.NormalizePkgConfig(exceptions='.*') - - def policy(r): - if Arch.x86_64: - r.Move('%(bindir)s/libtasn1-config', '%(bindir)s/libtasn1-config-64') - r.ComponentSpec('devel', '%(bindir)s/libtasn1-config-64') - r.Symlink('%(bindir)s/multiarch_wrapper', '%(bindir)s/libtasn1-config') - r.DanglingSymlinks(exceptions='%(bindir)s/libtasn1-config') libtasn1-1.5.tar.gz: removed Committed by: brcha