mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
libgit2: enable ssh support, use system http-parser library
Also, musl has been unbroken and the tarball is used for fetching
This commit is contained in:
parent
4bfa7ea576
commit
0c98a98d0a
1 changed files with 11 additions and 6 deletions
|
@ -1,18 +1,23 @@
|
||||||
# Template file for 'libgit2'
|
# Template file for 'libgit2'
|
||||||
pkgname=libgit2
|
pkgname=libgit2
|
||||||
version=0.22.2
|
version=0.22.2
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="cmake python git"
|
hostmakedepends="cmake python git pkg-config"
|
||||||
makedepends="zlib-devel libressl-devel"
|
makedepends="zlib-devel libressl-devel http-parser-devel libssh2-devel"
|
||||||
short_desc="The Git linkable library"
|
short_desc="The Git linkable library"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://libgit2.github.com/"
|
homepage="http://libgit2.github.com/"
|
||||||
license="GPL-2 with Linking Exception"
|
license="GPL-2 with Linking Exception"
|
||||||
|
distfiles="https://github.com/libgit2/libgit2/archive/v0.22.2.tar.gz"
|
||||||
|
checksum=3109f2579180d561fc736bad8bd917d7241477aab11633755c8a273beac53cdc
|
||||||
|
|
||||||
do_fetch() {
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
git clone -b v${version} git://github.com/libgit2/libgit2.git ${pkgname}-${version}
|
*-musl)
|
||||||
}
|
# Don't use qsort_r, see src/util.c
|
||||||
|
CFLAGS="-D__ANDROID_API__"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
libgit2-devel_package() {
|
libgit2-devel_package() {
|
||||||
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue