void-packages/srcpkgs/libgit2/template

26 lines
644 B
Plaintext
Raw Normal View History

2013-05-05 05:52:37 +02:00
# Template file for 'libgit2'
pkgname=libgit2
version=0.18.0
2014-02-20 17:46:51 +01:00
revision=2
2014-02-20 17:45:19 +01:00
build_style=cmake
hostmakedepends="cmake python"
makedepends="zlib-devel openssl-devel"
2013-05-05 05:52:37 +02:00
short_desc="The Git linkable library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://libgit2.github.com/"
license="GPL-2 with Linking Exception"
do_fetch() {
git clone -b v${version} git://github.com/libgit2/libgit2.git ${pkgname}-${version}
}
libgit2-devel_package() {
2014-02-20 17:45:19 +01:00
depends="openssl-devel zlib-devel ${sourcepkg}>=${version}_${revision}"
2013-05-05 05:52:37 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2014-02-20 17:45:19 +01:00
vmove "usr/lib/*.so"
2013-05-05 05:52:37 +02:00
}
}