wok-next view libgit2/receipt @ rev 20024
Up tesseract-ocr (3.05.01)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 22 12:39:31 2017 +0200 (2017-10-22) |
parents | |
children | e6615350078d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libgit2"
4 VERSION="0.26.0"
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="libgit2-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cmake \
21 -DCMAKE_BUILD_TYPE=Release \
22 -DCMAKE_INSTALL_PREFIX=/usr \
23 -DTHREADSAFE=ON &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 case $PACKAGE in
31 libgit2)
32 copy @std
33 DEPENDS="libcrypto libcurl libssh2 libssl zlib"
34 ;;
35 *-dev)
36 copy @dev
37 DEPENDS="libgit2 curl-dev libssh2-dev openssl-dev zlib-dev"
38 ;;
39 esac
40 }