[weasel-commit] Source: libcddb=1.3.2-1

  • From: rbuilder@xxxxxxxxx
  • To: weasel-commit@xxxxxxxxxxxxx
  • Date: Fri, 29 Jan 2010 14:13:51 -0500

================================
libcddb:source=1.3.2-1
cvc rdiff libcddb -1 /weasel.rpath.org@wgl:3-devel/1.3.2-1
================================
1.3.2-1 Filip Brcic (brcha@xxxxxxx) Fri Jan 29 14:13:42 2010
    Automatic promote by rBuild.

libcddb.recipe: new
--- /dev/null
+++ libcddb.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 Libcddb(AutoPackageRecipe):
+    name = 'libcddb'
+    version = '1.3.2'
+ 
+    buildRequires = ['libcdio:devel', 'pkg-config:devel' ]
+ 
+    def unpack(r):
+        r.addArchive('mirror://sourceforge/libcddb/')
+
+        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='.*')

libcddb-1.3.2.tar.bz2: new

Committed by: brcha

Other related posts:

  • » [weasel-commit] Source: libcddb=1.3.2-1 - rbuilder