mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
New package: libgit2-0.27-0.27.8
This commit is contained in:
parent
9100e1cd39
commit
a9e58cd4ac
2 changed files with 31 additions and 0 deletions
28
srcpkgs/libgit2-0.27/template
Normal file
28
srcpkgs/libgit2-0.27/template
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# Template file for 'libgit2-0.27'
|
||||||
|
pkgname=libgit2-0.27
|
||||||
|
version=0.27.8
|
||||||
|
revision=1
|
||||||
|
wrksrc="libgit2-${version}"
|
||||||
|
build_style=cmake
|
||||||
|
configure_args="-DTHREADSAFE=ON"
|
||||||
|
hostmakedepends="python git pkg-config"
|
||||||
|
makedepends="zlib-devel libressl-devel http-parser-devel libssh2-devel libuv-devel"
|
||||||
|
short_desc="Git linkable library"
|
||||||
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
||||||
|
license="GPL-2.0-or-later WITH GCC-exception-2.0"
|
||||||
|
homepage="https://libgit2.org"
|
||||||
|
distfiles="https://github.com/libgit2/libgit2/archive/v${version}.tar.gz"
|
||||||
|
checksum=8313873d49dc01e8b880ec334d7430ae67496a89aaa8c6e7bbd3affb47a00c76
|
||||||
|
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
*-musl)
|
||||||
|
# Don't use qsort_r, see src/util.c
|
||||||
|
CFLAGS="-D__ANDROID_API__"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
rm -rf ${DESTDIR}/usr/include
|
||||||
|
rm -rf ${DESTDIR}/usr/lib/libgit2.so
|
||||||
|
rm -rf ${DESTDIR}/usr/lib/pkgconfig
|
||||||
|
}
|
3
srcpkgs/libgit2-0.27/update
Normal file
3
srcpkgs/libgit2-0.27/update
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
site="https://github.com/libgit2/libgit2/tags"
|
||||||
|
pattern='archive/v?\K[\d.]+(?=\.tar\.gz)'
|
||||||
|
ignore="0.[123456789][12345689]*"
|
Loading…
Add table
Reference in a new issue