Package: yajl2-shlibs Version: 2.1.0 Revision: 1 Description: Yajl shared libraries License: BSD Maintainer: None BuildDepends: << cmake, doxygen, fink-buildenv-modules << Source: https://github.com/lloyd/yajl/archive/refs/tags/%v.tar.gz Source-Checksum: SHA256(3fb73364a5a30efe615046d07e6db9d09fd2b41c763c5f7d3bfb121cd5c5ac5a) SourceRename: yajl-%v.tar.gz PatchScript: << # debian's patch to link tools to shared lib perl -pi -e 's|json_reformat yajl_s|json_reformat yajl|g' reformatter/CMakeLists.txt verify/CMakeLists.txt << # ./configure is a wrapper script for cmake. Skip the middleman. CompileScript: << #!/bin/sh -ev . %p/sbin/fink-buildenv-cmake.sh mkdir finkbuild pushd finkbuild cmake $FINK_CMAKE_ARGS \ .. make -w popd << InfoTest: << TestScript: cd finkbuild; make test || exit 2 << InstallScript: << cd finkbuild; make install DESTDIR=%d mv %i/share/pkgconfig %i/lib/pkgconfig << Shlibs: << %p/lib/libyajl.2.dylib 2.0.0 %n (>= 2.1.0-1) << DocFiles: COPYING README TODO ChangeLog BUILDING SplitOff: << Package: yajl Depends: yajl2-shlibs (>= %v-%r) Replaces: yajl1 Description: Yet Another JSON Library Files: << bin << DocFiles: COPYING README TODO ChangeLog BUILDING << SplitOff2: << Package: yajl2-dev Depends: << yajl2-shlibs (= %v-%r) << Conflicts: yajl1-dev, yajl2-dev Replaces: yajl1-dev, yajl2-dev Description: Yajl development files BuildDependsOnly: true Files: << include lib/libyajl_s.a lib/libyajl.dylib lib/pkgconfig << DocFiles: COPYING README TODO ChangeLog BUILDING << Homepage: http://github.com/lloyd/yajl/ DescDetail:<< Yet Another JSON Library. YAJL is a small event-driven (SAX-style) JSON parser written in ANSI C, and a small validating JSON generator. <<