void-packages/srcpkgs/libgit2/template

26 lines
639 B
Plaintext
Raw Normal View History

2013-05-05 05:52:37 +02:00
# Template file for 'libgit2'
pkgname=libgit2
2014-08-14 16:00:20 +02:00
version=0.21.1
2014-07-15 18:27:22 +02:00
revision=1
2014-02-20 17:45:19 +01:00
build_style=cmake
hostmakedepends="cmake python git"
2014-07-15 18:27:22 +02:00
makedepends="zlib-devel libressl-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-07-15 18:27:22 +02:00
depends="${makedepends} ${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
}
}