wok-next view libgit2/receipt @ rev 20617

Fix build xchat, xchat-plugin, xget, xine-plugin; xorg-xf86-video-geode isn't compatible with 64-bit arch
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Apr 21 13:54:55 2018 +0300 (2018-04-21)
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 }