New package: libgit2-0.18.0.
This commit is contained in:
parent
32702ed478
commit
5134a641cd
3 changed files with 39 additions and 0 deletions
|
@ -1240,3 +1240,4 @@ libesmtp.so.6 libesmtp-1.0.6_4
|
||||||
libcaca.so.0 libcaca-0.99.beta18_3
|
libcaca.so.0 libcaca-0.99.beta18_3
|
||||||
libunwind.so.8 libunwind-1.1_1
|
libunwind.so.8 libunwind-1.1_1
|
||||||
libmicrohttpd.so.10 libmicrohttpd-0.9.26_1
|
libmicrohttpd.so.10 libmicrohttpd-0.9.26_1
|
||||||
|
libgit2.so.0 libgit2-0.18.0_1
|
||||||
|
|
1
srcpkgs/libgit2-devel
Symbolic link
1
srcpkgs/libgit2-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
libgit2
|
37
srcpkgs/libgit2/template
Normal file
37
srcpkgs/libgit2/template
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
# 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."
|
||||||
|
|
||||||
|
nofetch=yes
|
||||||
|
noextract=yes
|
||||||
|
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
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue