Package: libopencore-amr0 Version: 0.1.5 Revision: 1 Description: OpenCORE Adaptive Multi Rate codec License: BSD Maintainer: Hanspeter Niederstrasser Depends: %N-shlibs (>= %v-%r) BuildDependsOnly: true Source: mirror:sourceforge:opencore-amr/%v/opencore-amr-%v.tar.gz Source-Checksum: SHA256(2c006cb9d5f651bfb5e60156dbff6af3c9d35c7bbcc9015308c0aff1e14cd341) PatchScript: << # Fangism says real solution is to have nodist_EXTRA_linkboth_SOURCES = dummy.cpp /usr/bin/sed -i.orig -e '/^linkboth_LINK/,/-o/s|CC|CXX|g' -e '/^linkboth_LINK/,/-o/s|CFLAGS|CXXFLAGS|g' test/Makefile.in << ConfigureParams: --disable-compile-c GCC: 4.0 InfoTest: << TestScript: /usr/bin/make check || exit 2 << InstallScript: /usr/bin/make install DESTDIR=%d DocFiles: ChangeLog LICENSE README SplitOff: << Package: %N-shlibs Description: Shared libraries for AMR DocFiles: ChangeLog LICENSE README Shlibs: << %p/lib/libopencore-amrnb.0.dylib 1.0.0 %n (>= 0.1.2-1) %p/lib/libopencore-amrwb.0.dylib 1.0.0 %n (>= 0.1.2-1) << Files: lib/libopencore-amr*.*.dylib << Homepage: http://sourceforge.net/projects/opencore-amr/ DescDetail: << Library of OpenCORE Framework implementation of Adaptive Multi Rate Narrowband and Wideband speech codec. << DescPort: << PatchScript needed to build on 10.4 since it's using gcc for linking C++ code. So make it use g++ to link. <<