--- simdmath-1.0.2.orig/debian/rules +++ simdmath-1.0.2/debian/rules @@ -0,0 +1,123 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +version=1.0.2 +major=1 + +p_lib = libsimdmath$(major) +p_lib64 = lib64simdmath$(major) +p_dev = libsimdmath-dev + +build_files = Make* common ppu spu + +build: build-stamp +build-stamp: build-ppu-stamp build-ppu64-stamp build-spu-stamp + +build-ppu-stamp: + dh_testdir + rm -rf build-ppu + mkdir build-ppu + cp -al $(build_files) build-ppu/ + $(MAKE) -C build-ppu ARCH=ppu CC=ppu-gcc CXX=ppu-g++ + touch $@ + +build-ppu64-stamp: + dh_testdir + rm -rf build-ppu64 + mkdir build-ppu64 + cp -al $(build_files) build-ppu64/ + $(MAKE) -C build-ppu64 ARCH=ppu64 CC=ppu-gcc CXX=ppu-g++ + touch $@ + +build-spu-stamp: + dh_testdir + rm -rf build-spu + mkdir build-spu + cp -al $(build_files) build-spu/ + $(MAKE) -C build-spu ARCH=spu + touch $@ + +check: + $(MAKE) -C build-ppu ARCH=ppu CC=ppu-gcc CXX=ppu-g++ check + $(MAKE) -C build-ppu64 ARCH=ppu64 CC=ppu-gcc CXX=ppu-g++ check + $(MAKE) -C build-spu ARCH=spu check + +clean: + dh_testdir + dh_testroot + rm -f *-stamp + rm -rf build-* + rm -rf debian/tmp-* + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs -p$(p_lib) \ + usr/lib + dh_installdirs -p$(p_lib64) \ + usr/lib64 + dh_installdirs -p$(p_dev) \ + usr/lib \ + usr/lib64 + + rm -rf debian/tmp-ppu debian/tmp-ppu64 debian/tmp-spu + mkdir -p debian/tmp-ppu debian/tmp-ppu64 debian/tmp-spu + + $(MAKE) -C build-ppu \ + ARCH=ppu CC=ppu-gcc CXX=ppu-g++ \ + DESTDIR=$(CURDIR)/debian/tmp-ppu install + $(MAKE) -C build-ppu64 \ + ARCH=ppu64 CC=ppu-gcc CXX=ppu-g++ \ + DESTDIR=$(CURDIR)/debian/tmp-ppu64 install + $(MAKE) -C build-spu \ + ARCH=spu \ + DESTDIR=$(CURDIR)/debian/tmp-spu install + + cp -a debian/tmp-ppu/usr/lib/lib*.so.* debian/$(p_lib)/usr/lib/ + + cp -a debian/tmp-ppu64/usr/lib/lib*.so.* debian/$(p_lib64)/usr/lib64/ + + cp -a debian/tmp-ppu/usr/include debian/$(p_dev)/usr/ + cp -a debian/tmp-ppu/usr/lib/lib*.so debian/$(p_dev)/usr/lib/ + cp -a debian/tmp-ppu/usr/lib/lib*.a debian/$(p_dev)/usr/lib/ + cp -a debian/tmp-ppu64/usr/lib/lib*.so debian/$(p_dev)/usr/lib64/ + cp -a debian/tmp-ppu64/usr/lib/lib*.a debian/$(p_dev)/usr/lib64/ + cp -a debian/tmp-spu/usr/spu debian/$(p_dev)/usr/ + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs -s + dh_installdocs -s README + dh_installexamples -s + dh_strip -s + dh_compress -s + dh_fixperms -s + dh_makeshlibs -p$(p_lib) + dh_makeshlibs -p$(p_lib64) + dh_installdeb -s + dh_shlibdeps -s + dh_gencontrol -s + dh_md5sums -s + dh_builddeb -s + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- simdmath-1.0.2.orig/debian/changelog +++ simdmath-1.0.2/debian/changelog @@ -0,0 +1,18 @@ +simdmath (1.0.2-2ubuntu1) gutsy; urgency=low + + * Rebuild using SDK 3.0 earlyRel. + + -- Matthias Klose Tue, 25 Sep 2007 13:54:08 +0000 + +simdmath (1.0.2-2) gutsy; urgency=low + + * Build-depend on libc6-dev-ppc64 [powerpc]. + + -- Matthias Klose Thu, 23 Aug 2007 19:14:44 +0000 + +simdmath (1.0.2-1) gutsy; urgency=low + + * Initial release. + + -- Matthias Klose Thu, 23 Aug 2007 10:31:29 +0000 + --- simdmath-1.0.2.orig/debian/copyright +++ simdmath-1.0.2/debian/copyright @@ -0,0 +1,46 @@ +This package was debianized by Matthias Klose +on Thu, 23 Aug 2007 10:31:29 +0000. + +Downloaded from http://sourceforge.net/project/showfiles.php?group_id=147573 + +Upstream Author: + + Erwin Coumans (module maintainer) + +Copyright: + + Copyright (C) 2006, 2007 Sony Computer Entertainment Inc. + +License: + + SIMD math library functions for both the PowerPC (PPU) and the SPU. + Copyright (C) 2006, 2007 Sony Computer Entertainment Inc. + All rights reserved. + + Redistribution and use in source and binary forms, + with or without modification, are permitted provided that the + following conditions are met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of the Sony Computer Entertainment Inc nor the names + of its contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + + +The Debian packaging is (C) 2007, Matthias Klose and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- simdmath-1.0.2.orig/debian/control +++ simdmath-1.0.2/debian/control @@ -0,0 +1,31 @@ +Source: simdmath +Priority: extra +Maintainer: Matthias Klose +Build-Depends: debhelper (>= 5), spu-gcc, ppu-gcc, libc6-dev-ppc64 [powerpc] +Standards-Version: 3.7.2 +Section: libs + +Package: libsimdmath-dev +Section: libdevel +Architecture: powerpc +Depends: libsimdmath1 (= ${binary:Version}), lib64simdmath1 (= ${binary:Version}) +Recommends: ppu-gcc, spu-gcc +Description: SIMD math library (development files) + The SIMD math library (SIMD math lib) is a SIMDized version of the + C99 standard math library (libm). + +Package: libsimdmath1 +Section: libs +Architecture: powerpc +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: SIMD math library (runtime files) + The SIMD math library (SIMD math lib) is a SIMDized version of the + C99 standard math library (libm). + +Package: lib64simdmath1 +Section: libs +Architecture: powerpc +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: SIMD math library (64 bit runtime files) + The SIMD math library (SIMD math lib) is a SIMDized version of the + C99 standard math library (libm). --- simdmath-1.0.2.orig/debian/watch +++ simdmath-1.0.2/debian/watch @@ -0,0 +1,10 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=3 + +# Uncomment to find new files on sourceforge, for devscripts >= 2.9 +http://sf.net/simdmath/simdvectormath(.*)\.tgz --- simdmath-1.0.2.orig/debian/compat +++ simdmath-1.0.2/debian/compat @@ -0,0 +1 @@ +5