================================ pump:source=0.8.24-4 cvc rdiff pump -1 /weasel.rpath.org@wgl:3-devel/0.8.24-4 ================================ 0.8.24-4 Filip Brcic (brcha@xxxxxxx) Sat Jan 23 09:57:15 2010 Automatic promote by rBuild. pump-0.8.24.tar.gz: new pump-0.8.24-1.2.2.1.src.rpm: new pump.recipe: new --- /dev/null +++ pump.recipe @@ -0,0 +31 @@ +# +# Copyright (c) 2004-2006 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 +# + +loadSuperClass('rpmpackage') +class Pump(RPMPackageRecipe, CPackageRecipe): + name = 'pump' + version = '0.8.24' + + buildRequires = [ 'newt:devel', 'gettext:runtime', 'popt:devel', ] + + rpmRelease = '1.2.2.1' + + def setup(r): + r.unpack() + if Arch.x86_64: + # First build 32bit libs + r.Run('cp -a %(builddir)s %(builddir)s/../32bit') + macros32 = r.macros.copy() + macros32.cc = '"gcc -m32"' + macros32.cxx = '"g++ -m32"' + macros32.libdir = '%(prefix)s/lib' + r.Make(dir='../32bit', overrideMacros=macros32) + r.MakePathsInstall('RPM_BUILD_ROOT=%(destdir)s', dir='../32bit', + overrideMacros=macros32) + + r.Make() + r.MakePathsInstall('RPM_BUILD_ROOT=%(destdir)s') + # XXX should we have a netconfig package as well as pump? Committed by: brcha