wok-next view libgit2/receipt @ rev 21012
Small updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Oct 13 17:31:50 2018 +0300 (2018-10-13) |
parents | e6615350078d |
children | d5aab818505e |
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.github.com/"
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 }