Package: libsquish0 Version: 1.15 Revision: 1 Description: DXT compression library DescDetail: << The squish library (abbreviated to libsquish) is an open source DXT compression library written in C++ with the following features: * Supports the DXT1, DXT3 and DXT5 formats. * Optimised for both SSE and Altivec SIMD instruction sets. * Builds on multiple platforms (x86 and PPC tested). * Very simple interface. << License: BSD Homepage: https://sourceforge.net/projects/libsquish Maintainer: Daniel Johnson #PatchFile: %n.patch #PatchFile-MD5: b843690e6d65eb6c0796f18e65a6ad23 Source: mirror:sourceforge:libsquish/libsquish-%v.tgz Source-Checksum: SHA256(628796eeba608866183a61d080d46967c9dda6723bc0a3ec52324c85d2147269) NoSourceDirectory: true Depends: %n-shlibs (= %v-%r) BuildDepends: << cmake, fink-buildenv-modules, fink-package-precedence << BuildDependsOnly: true PatchScript: << # upstream is calling this libN=0.0, which is broken # And doesn't set c_v to match the historial value # Can remove this hack once VERSION changes to non-zero. perl -pi -e 's|VERSION 0.0|VERSION 0|g' CMakeLists.txt perl -pi -e 's|SOVERSION 0|$&\nMACHO_COMPATIBILITY_VERSION 1\nMACHO_CURRENT_VERSION 1|g' CMakeLists.txt << CompileScript: << #!/bin/sh -ev . %p/sbin/fink-buildenv-cmake.sh mkdir finkbuild pushd finkbuild cmake $FINK_CMAKE_ARGS \ -DBUILD_SHARED_LIBS=ON \ -DBUILD_SQUISH_WITH_OPENMP:BOOL=OFF \ -LAH .. make popd fink-package-precedence --depfile-ext='\.d' . << InstallScript: << cd finkbuild; make install DESTDIR=%d << DocFiles: ChangeLog.txt LICENSE.txt README.txt SplitOff: << Package: %N-shlibs Files: lib/libsquish.*.dylib Shlibs: << %p/lib/libsquish.0.dylib 1.0.0 %n (>= 1.10-1) << DocFiles: ChangeLog.txt LICENSE.txt README.txt <<