void-packages/srcpkgs/libgit2/template

26 lines
646 B
Plaintext
Raw Normal View History

2013-05-05 05:52:37 +02:00
# Template file for 'libgit2'
pkgname=libgit2
2015-01-18 01:52:00 +01:00
version=0.22.0
revision=1
2014-02-20 17:45:19 +01:00
build_style=cmake
hostmakedepends="cmake python git"
makedepends="zlib-devel libressl-devel>=2.1.2"
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
}
}