================================ parted:source=1.8.6-1 cvc rdiff parted -1 /weasel.rpath.org@wgl:3-devel/1.8.6-1 ================================ 1.8.6-1 Filip Brcic (brcha@xxxxxxx) Thu Dec 31 10:44:39 2009 Automatic promote by rBuild. parted-1.8.6.tar.bz2: new parted.recipe: new --- /dev/null +++ parted.recipe @@ -0,0 +43 @@ +# +# 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 +# + +class Parted(CPackageRecipe): + name = 'parted' + version = '1.8.6' + + buildRequires = [ + 'libtool:runtime', 'install-info:runtime', 'autoconf:runtime', + 'automake:runtime', 'readline:devel', 'ncurses:devel', + 'pkg-config:devel', 'gettext:runtime', 'intltool:runtime', + 'util-linux-ng:devel', + ] + + def setup(r): + r.addArchive('mirror://gnu/parted/') + + if 'LINGUAS' in os.environ: + del os.environ['LINGUAS'] + + 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.Configure('--enable-shared --enable-part-static --enable-pc98=no' + ' --enable-Werror=no --disable-dynamic-loading --with-readline', + objDir='build32', overrideMacros=macros32) + r.Make('LIBTOOL=/usr/bin/libtool', preMake='tagname=CC USE_ARCH=32', + dir='build32', overrideMacros=macros32) + r.MakeInstall('LIBTOOL=/usr/bin/libtool MKINSTALLDIRS=`pwd`/mkinstalldirs', preMake='tagname=CC', + dir='build32', overrideMacros=macros32) + r.NormalizePkgConfig(exceptions='.*') + + r.Configure('--enable-shared --enable-part-static --enable-pc98=no' + ' --enable-Werror=no --disable-dynamic-loading --with-readline') + r.Make('LIBTOOL=/usr/bin/libtool', preMake='tagname=CC') + r.MakeInstall('LIBTOOL=/usr/bin/libtool MKINSTALLDIRS=`pwd`/mkinstalldirs', preMake='tagname=CC') + r.Doc('doc/API', 'doc/FAT') Committed by: brcha