================================ libogg:source=1.1.4-2 (previous: 1.1.4-1) cvc rdiff libogg -1 /weasel.rpath.org@wgl:3-devel/1.1.4-2 ================================ 1.1.4-2 Filip Brcic (brcha@xxxxxxx) Wed Jan 13 12:08:09 2010 fixed recipe and metadata libogg.recipe: changed Index: libogg.recipe ==================================================================== contents(size sha1) inode(mtime) --- libogg.recipe /weasel.rpath.org@wgl:3-devel/1.1.4-1 +++ libogg.recipe /weasel.rpath.org@wgl:3-devel/1.1.4-2 @@ -1,37 +1,19 @@ # -# Copyright (c) 2004-2007 rPath, Inc. -# This file is distributed under the terms of the MIT License. -# A copy is available at http://www.rpath.com/permanent/mit-license.html +# Copyright (c) 2010 Filip Brcic <brcha@xxxxxxxxxxxx> +# Distributed under the terms of the GNU General Public License v3 # class Libogg(AutoPackageRecipe): name = 'libogg' version = '1.1.4' + buildRequires = [] + + shortDesc = 'Ogg media format' + longDesc = 'the Ogg media file format library' + url = 'http://xiph.org/ogg/' + licenses = [ 'BSD' ] + categories = [ 'Media/Libraries' ] + def unpack(r): r.addArchive('http://downloads.xiph.org/releases/ogg/') - - r.Replace((r'-L\$prefix/lib', r'-L$libdir'), - (r'OGG_CFLAGS="-I\$prefix/include"', r'OGG_CFLAGS=""'), - 'ogg.m4') - r.Replace(('-O20', '%(cflags)s'), - ('-ffast-math', ''), - 'configure') - - 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.NormalizePkgConfig(exceptions='.*') - - def policy(r): - r.Doc('doc/*.{html,txt,png}') Committed by: brcha