void-packages/srcpkgs/libgit2/template

26 lines
635 B
Text
Raw Normal View History

2013-05-05 03:52:37 +00:00
# Template file for 'libgit2'
pkgname=libgit2
2014-07-15 16:27:22 +00:00
version=0.21.0
revision=1
2014-02-20 16:45:19 +00:00
build_style=cmake
hostmakedepends="cmake python"
2014-07-15 16:27:22 +00:00
makedepends="zlib-devel libressl-devel"
2013-05-05 03:52:37 +00: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-07-15 16:27:22 +00:00
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
2013-05-05 03:52:37 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2014-02-20 16:45:19 +00:00
vmove "usr/lib/*.so"
2013-05-05 03:52:37 +00:00
}
}