# -*- coding: ascii; tab-width: 4 -*- Package: libgit2.27 # cran-git2r-r-0.30.1 for older r-base is the last user. Version: 0.27.10 Revision: 1 Description: C implementation of core git methods License: GPL2 Maintainer: Daniel Johnson Source: https://codeload.github.com/libgit2/libgit2/tar.gz/v%v SourceRename: libgit2-%v.tar.gz Source-Checksum: SHA256(f6fd26378ff71bd7a4b17b576c82c774a2e9c2d6b74b24718a8fb29551e1c4a5) BuildDependsOnly: true BuildDepends: << cmake (>= 2.8.12-2), fink-package-precedence, libcurl4, libiconv-dev (>= 1.14-5), libssh2.1 (>= 1.4.3-1), pkgconfig << Depends: %N-shlibs (= %v-%r) Conflicts: << libgit2, libgit2.21, libgit2.23, libgit2.24, libgit2.25, libgit2.26, libgit2.27, libgit2.28, libgit2-1.7-dev, libgit2-1.8-dev << Replaces: << libgit2, libgit2.21, libgit2.23, libgit2.24, libgit2.25, libgit2.26, libgit2.27, libgit2.28, libgit2-1.7-dev, libgit2-1.8-dev << CompileScript: << cmake . -DCMAKE_INSTALL_PREFIX="%p" \ -DCMAKE_INSTALL_NAME_DIR="%p/lib" \ -DCMAKE_SHARED_LINKER_FLAGS="-L%p/lib" \ -DCMAKE_EXE_LINKER_FLAGS="-L%p/lib" \ -DTHREADSAFE=ON \ -DBUILD_CLAR=OFF \ -Dcurl_RESOLVED=%p/lib/libcurl.dylib \ -DICONV_INCLUDE_DIR=%p/include \ -Diconv_lib=%p/lib/libiconv.dylib \ -DCMAKE_C_FLAGS:STRING=-MD \ -LAH make VERBOSE=1 fink-package-precedence --depfile-ext='\.d' . << # Tests require network access and -DBUILD_CLAR=ON #InfoTest: TestScript: make test || exit 2 InstallScript: << make install DESTDIR=%d perl -pi -e 's/Libs\.private.*$//' %i/lib/pkgconfig/libgit2.pc << Homepage: http://libgit2.github.com DescDetail: << libgit2 is a portable, pure C implementation of the Git core methods provided as a re-entrant linkable library with a solid API, allowing you to write native speed custom Git applications in any language which supports C bindings. << DocFiles: AUTHORS CONTRIBUTING.md CONVENTIONS.md COPYING README.md docs/* SplitOff: << Package: %N-shlibs Depends: << libcurl4-shlibs, libiconv (>= 1.14-5), libssh2.1-shlibs (>= 1.4.3-1) << Files: << lib/libgit2.*.dylib << Shlibs: << %p/lib/libgit2.27.dylib 27.0.0 %n (>= 0.27.3-1) << DocFiles: AUTHORS CONTRIBUTING.md CONVENTIONS.md COPYING README.md <<