wok-next view libgit2/receipt @ rev 20702
wireshark update: 2.0.0 (2015 Nov) -> 2.6.1
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Fri May 25 10:48:57 2018 +0000 (2018-05-25) |
parents | 42f46ff4970b |
children | b5f2a6ab88b6 |
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="openssl libcurl libssh2 zlib"
34 ;;
35 *-dev)
36 copy @dev
37 DEPENDS="libgit2 curl-dev libssh2-dev openssl-dev zlib-dev"
38 ;;
39 esac
40 }