Package: libopencore-amr0 Version: 0.1.2 Revision: 2 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-MD5: 8e8b8b253eb046340ff7b6bf7a6ccd3e 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: AUTHORS COPYING ChangeLog INSTALL LICENSE NEWS README SplitOff: << Package: %N-shlibs Description: Shared libraries for AMR DocFiles: AUTHORS COPYING ChangeLog INSTALL LICENSE NEWS 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. <<