Package: libchm Version: 0.40 Revision: 5 Depends: %N-shlibs (= %v-%r) BuildDepends: fink-package-precedence BuildDependsOnly: true Conflicts: kchmviewer Source: http://www.jedrea.com/chmlib/chmlib-%v.tar.bz2 Source-Checksum: SHA256(3449d64b0cf71578b2c7e3ddc048d4af3661f44a83941ea074a7813f3a59ffa3) SetCFLAGS: -Os ConfigureParams: --disable-static # Don't second-guess system-function implementation ("macro redefined" # warning to do so, and it's the same definition as string.h gives # anyway). Better to FTBFS if that .h isn't #included. PatchFile: %n.patch PatchFile-MD5: a8c0bbe3a554036a4ea5508b9af8b051 PatchScript: << %{default_script} # Patch configure to not link like Puma on Yosemite perl -pi.bak -e 's|10\.\[012\]\*|10.[012][,.]*|g' configure << CompileScript: << %{default_script} fink-package-precedence --prohibit-bdep=%n . << InstallScript: make install DESTDIR=%d DocFiles: AUTHORS COPYING ChangeLog NEWS README Splitoff: << Package: %N-shlibs Files: << lib/libchm.0.dylib << Shlibs: << %p/lib/libchm.0.dylib 1.0.0 %n (>= 0.40-2) << DocFiles: COPYING << License: LGPL Homepage: http://www.jedrea.com/chmlib Maintainer: Jack Fink Description: Library for reading MS CHM files