Package: libnoise Version: 1.0.0 Revision: 3 Maintainer: None Description: Coherent noise-generating C++ library BuildDependsOnly: true Depends: libnoise-shlibs (= %v-%r) BuildDepends: libtool2 GCC: 4.0 License: LGPL2 Source: mirror:sourceforge:libnoise/libnoise%%20sources/%v/libnoisesrc-%v.zip SourceDirectory: noise Source-Checksum: SHA256(34ed402f43f30ce5e39812642c9533c11082cd2bc092341c65160f5c743be95b) PatchFile: libnoise.patch PatchFile-MD5: 4332ec35262026d41906a960db03b075 PatchScript: << %{default_script} ### glibtool can't infer the tag. ### Add here vs in PatchFile because source is full of DOS line endings. perl -pi -e 's|mode\=compile \$\(CXX\)|mode=compile --tag CXX \$\(CXX\)|g' src/Makefile perl -pi -e 's|mode\=compile \$\(CC\)|mode=compile --tag CC \$\(CC\)|g' src/Makefile perl -pi -e 's|mode\=link \$\(CXX\)|mode=link --tag CXX \$\(CXX\)|g' src/Makefile perl -pi -e 's|mode\=link \$\(CC\)|mode=link --tag CC \$\(CC\)|g' src/Makefile << UseMaxBuildJobs: false SetCXXFLAGS: -O3 CompileScript: << make -C include make -C src libnoise.dylib libnoise.la install_name_tool -id %p/lib/libnoise.0.dylib src/libnoise.0.3.dylib cp ../COPYING.txt . << InstallScript: << mkdir -p %i/include cp -pr include %i/include/noise rm %i/include/noise/Makefile mkdir -p %i/lib cp src/libnoise.0.3.dylib %i/lib ln -s libnoise.0.3.dylib %i/lib/libnoise.0.dylib ln -s libnoise.0.3.dylib %i/lib/libnoise.dylib mkdir -p %i/share/doc/libnoise cp -pr doc/html %i/share/doc/libnoise << DocFiles: COPYING.txt SplitOff: << Package: %n-shlibs Files: lib/libnoise.0.dylib lib/libnoise.0.3.dylib Shlibs: << %p/lib/libnoise.0.dylib 0.0.0 %n (>= 1.0.0-1) << DocFiles: COPYING.txt << Homepage: http://libnoise.sourceforge.net DescPackaging: << Former maintainer: Sjors Gielen <<