[weasel-commit] Source: icon-naming-utils=0.8.90-1

  • From: rbuilder@xxxxxxxxx
  • To: weasel-commit@xxxxxxxxxxxxx
  • Date: Wed, 27 Jan 2010 12:57:51 -0500

================================
icon-naming-utils:source=0.8.90-1
cvc rdiff icon-naming-utils -1 /weasel.rpath.org@wgl:3-devel/0.8.90-1
================================
0.8.90-1 Filip Brcic (brcha@xxxxxxx) Wed Jan 27 12:57:42 2010
    Automatic promote by rBuild.

icon-naming-utils-0.8.90.tar.bz2: new
icon-naming-utils.recipe: new
--- /dev/null
+++ icon-naming-utils.recipe
@@ -0,0 +28 @@
+#
+# Copyright (c) 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
+#
+
+class Iconnamingutils(AutoPackageRecipe):
+    name = 'icon-naming-utils'
+    version = '0.8.90'
+    buildRequires = [ 'perl-XML-Simple:perl', 'perl:lib', 'perl:runtime', ]
+
+    def unpack(r):
+        r.addArchive('http://tango.freedesktop.org/releases/')
+
+        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, 
preConfigure='USE_ARCH=32')
+            r.Make(dir='../32bit', overrideMacros=macros32, 
preMake='USE_ARCH=32')
+            r.MakeInstall(dir='../32bit', overrideMacros=macros32, 
preMake='USE_ARCH=32')
+            
+            r.NormalizePkgConfig(exceptions='.*')


Committed by: brcha

Other related posts:

  • » [weasel-commit] Source: icon-naming-utils=0.8.90-1 - rbuilder