wok-next view libgit2/receipt @ rev 21702
updated gptfdisk (1.0.4 -> 1.0.5)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 01 14:22:49 2020 +0100 (2020-07-01) |
parents | b5f2a6ab88b6 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libgit2"
4 VERSION="0.27.5"
5 CATEGORY="libs"
6 SHORT_DESC="A linkable library for Git"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://libgit2.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/libgit2/libgit2/archive/v$VERSION.tar.gz"
14 BUILD_DEPENDS="cmake curl-dev python"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 cmake \
19 -DCMAKE_BUILD_TYPE=Release \
20 -DCMAKE_INSTALL_PREFIX=/usr \
21 -DTHREADSAFE=ON &&
22 make &&
23 make install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 libgit2)
29 copy @std
30 DEPENDS="openssl libcurl libssh2 zlib"
31 ;;
32 *-dev)
33 copy @dev
34 DEPENDS="libgit2 curl-dev libssh2-dev openssl-dev zlib-dev"
35 ;;
36 esac
37 }