[weasel-commit] Source: glitz=0.5.6-1

  • From: rbuilder@xxxxxxxxx
  • To: weasel-commit@xxxxxxxxxxxxx
  • Date: Fri, 08 Jan 2010 07:44:51 -0500

================================
glitz:source=0.5.6-1
cvc rdiff glitz -1 /weasel.rpath.org@wgl:3-devel/0.5.6-1
================================
0.5.6-1 Filip Brcic (brcha@xxxxxxx) Fri Jan  8 07:44:36 2010
    Automatic promote by rBuild.

glitz.recipe: new
--- /dev/null
+++ glitz.recipe
@@ -0,0 +29 @@
+#
+# Copyright (c) 2007 Foresight Linux
+# 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 Glitz(AutoPackageRecipe):
+    name = 'glitz'
+    version = '0.5.6'
+ 
+    buildRequires = ['libX11:devel', 'Mesa:devel', 'xproto:devel', 
'libXt:devel']
+    
+    def unpack(r):
+        r.addArchive('http://cairographics.org/snapshots/')
+
+        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='.*')

glitz-0.5.6.tar.gz: new

Committed by: brcha

Other related posts:

  • » [weasel-commit] Source: glitz=0.5.6-1 - rbuilder