void-packages/srcpkgs/libgit2/template

36 lines
893 B
Plaintext
Raw Normal View History

2013-05-05 05:52:37 +02:00
# Template file for 'libgit2'
pkgname=libgit2
version=0.18.0
revision=1
short_desc="The Git linkable library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://libgit2.github.com/"
license="GPL-2 with Linking Exception"
long_desc="
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 with bindings."
build_style=cmake
hostmakedepends="cmake python"
makedepends="zlib-devel openssl-devel"
do_fetch() {
git clone -b v${version} git://github.com/libgit2/libgit2.git ${pkgname}-${version}
}
libgit2-devel_package() {
depends="openssl-devel zlib-devel libgit2>=$version"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}
libgit2_package() {
pkg_install() {
vmove all
}
}