wok-next annotate 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 |
rev | line source |
---|---|
al@19834 | 1 # SliTaz package receipt v2. |
al@19834 | 2 |
al@19834 | 3 PACKAGE="libgit2" |
al@19834 | 4 VERSION="0.26.0" |
al@19834 | 5 CATEGORY="libs" |
al@19834 | 6 SHORT_DESC="A linkable library for Git" |
al@19834 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19834 | 8 LICENSE="GPL2" |
al@19834 | 9 WEB_SITE="https://libgit2.github.com/" |
al@19834 | 10 |
al@19834 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19834 | 12 WGET_URL="https://github.com/libgit2/libgit2/archive/v$VERSION.tar.gz" |
al@19834 | 13 |
al@19834 | 14 BUILD_DEPENDS="cmake curl-dev python" |
al@19834 | 15 SPLIT="libgit2-dev" |
al@19834 | 16 |
al@19834 | 17 # Rules to configure and make the package. |
al@19834 | 18 compile_rules() |
al@19834 | 19 { |
al@19834 | 20 cmake \ |
al@19834 | 21 -DCMAKE_BUILD_TYPE=Release \ |
al@19834 | 22 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@19834 | 23 -DTHREADSAFE=ON && |
al@19834 | 24 make && make install |
al@19834 | 25 } |
al@19834 | 26 |
al@19834 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19834 | 28 genpkg_rules() |
al@19834 | 29 { |
al@19834 | 30 case $PACKAGE in |
al@19834 | 31 libgit2) |
al@19834 | 32 copy @std |
al@20453 | 33 DEPENDS="openssl libcurl libssh2 zlib" |
al@19834 | 34 ;; |
al@19834 | 35 *-dev) |
al@19834 | 36 copy @dev |
al@19834 | 37 DEPENDS="libgit2 curl-dev libssh2-dev openssl-dev zlib-dev" |
al@19834 | 38 ;; |
al@19834 | 39 esac |
al@19834 | 40 } |