@@ -0,0 +1,957 @@
+class SoundtouchPackage (Package):%0A%09def __init__(self):%0A%09%09Package.__init__ (self, 'soundtouch', '1.9.0',%0A%09%09%09sources = %5B%0A%09%09%09%09'http://www.surina.net/%25%7Bname%7D/%25%7Bname%7D-%25%7Bversion%7D.tar.gz'%0A%09%09%09%5D,%0A%09%09%09source_dir_name = %22soundtouch%22,%0A%09%09%09override_properties = %7B'configure': './bootstrap && ./configure --prefix=%22%25%7Bpackage_prefix%7D%22'%7D%0A%09%09)%0A%0A%09def arch_build(self, arch):%0A%09%09# Building with --enable-debug causes issues when compiling for i386 on x86_64%0A%09%09self.configure_flags.remove(%22--enable-debug%22)%0A%09%09self.configure_flags.extend(%5B'--disable-debug'%5D)%0A%0A%09%09if arch == 'darwin-32':%0A%09%09%09self.ld_flags = %5B'-arch i386'%5D%0A%09%09%09self.gcc_flags = %5B'-arch i386'%5D%0A%09%09%09self.local_configure_flags.extend (%5B'--build=i386-apple-darwin11.2.0'%5D)%0A%09%09elif arch == 'darwin-64':%0A%09%09%09self.ld_flags = %5B'-arch x86_64'%5D%0A%09%09%09self.gcc_flags = %5B'-arch x86_64'%5D%0A%09%09%09self.local_configure_flags.extend (%5B'--build=x86_64-apple-darwin11.2.0'%5D)%0A%0A%09%09Package.arch_build (self, arch, defaults = False)%0A%0ASoundtouchPackage()

Add soundtouch package