Package: libnuspell4-shlibs # v5 is new libN # v5.1.0 uses std::filesystem::path which was introduced in 10.15 # see: https://github.com/nuspell/nuspell/issues/118 # Free to update, modify, and takeover Version: 4.2.0 Revision: 2 Description: Nunspell shared library License: GPL3 Maintainer: Hanspeter Niederstrasser Source: https://github.com/nuspell/nuspell/archive/v%v.tar.gz SourceRename: nuspell-%v.tar.gz Source-Checksum: SHA256(01804d490bec517748ee49fa2f1249f4c99380c26335e32082cdaa02b5b2b4dc) Depends: << libicu72-shlibs << BuildDepends: << libicu72-dev << GCC: 4.0 PatchScript: << # Disable docs/ subdir (avoids BDep:pandoc to build manpage # for executable. # Newer versions scrap the manpage altogether because # there's a fully functional --help mode. perl -ni -e 'print unless /\(docs\)/' CMakeLists.txt << CompileScript: << #!/bin/sh -ev . %p/sbin/fink-buildenv-cmake.sh mkdir finkbuild pushd finkbuild cmake $FINK_CMAKE_ARGS \ -DBUILD_SHARED_LIBS=ON \ -DCMAKE_CXX_FLAGS=-MD \ .. make -w popd fink-package-precedence --prohibit-bdep=libnuspell4-dev --depfile-ext='\.d' . << InstallScript: << #!/bin/sh -ev pushd finkbuild make install DESTDIR=%d popd # We'll be consistent with handling the doc files in each # package's self-named doc/ subdir. pushd %i rm -r share/doc/nuspell << Shlibs: << %p/lib/libnuspell.4.dylib 4.0.0 %n (>= 4.2.0-1) << DocFiles: COPYING SplitOff: << Package: nuspell Description: Spell checker, default in OpenOffice Depends: << %N (>= %v-%r), libicu72-shlibs << # doc/nuspell packaging goof Replaces: libnuspell3-shlibs (<< 3.1.2-3) Files: << bin << DocFiles: AUTHORS COPYING CHANGELOG.md README.md << Splitoff2: << Package: libnuspell4-dev Description: Nuspell dev files Depends: %N (= %v-%r) Conflicts: << libnuspell3-dev, libnuspell4-dev << Replaces: << libnuspell3-dev, libnuspell4-dev << BuildDependsOnly: true Files: << include lib/libnuspell.dylib lib/cmake lib/pkgconfig << DocFiles: AUTHORS COPYING CHANGELOG.md README.md << Homepage: https://nuspell.github.io/ DescDetail: << Nuspell is a free and open source spell checker library and command-line program designed for languages with rich morphology and complex word compounding. <<