wok-next annotate libgit2/receipt @ rev 21290
updated gnustep-back (0.25.1 -> 0.27.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Dec 08 12:42:33 2019 +0100 (2019-12-08) |
parents | b5f2a6ab88b6 |
children |
rev | line source |
---|---|
al@19834 | 1 # SliTaz package receipt v2. |
al@19834 | 2 |
al@19834 | 3 PACKAGE="libgit2" |
al@21012 | 4 VERSION="0.27.5" |
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@21020 | 9 WEB_SITE="https://libgit2.org/" |
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@21012 | 15 SPLIT="$PACKAGE-dev" |
al@19834 | 16 |
al@21012 | 17 compile_rules() { |
al@19834 | 18 cmake \ |
al@19834 | 19 -DCMAKE_BUILD_TYPE=Release \ |
al@19834 | 20 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@19834 | 21 -DTHREADSAFE=ON && |
al@21012 | 22 make && |
al@21012 | 23 make install |
al@19834 | 24 } |
al@19834 | 25 |
al@21012 | 26 genpkg_rules() { |
al@19834 | 27 case $PACKAGE in |
al@19834 | 28 libgit2) |
al@19834 | 29 copy @std |
al@20453 | 30 DEPENDS="openssl libcurl libssh2 zlib" |
al@19834 | 31 ;; |
al@19834 | 32 *-dev) |
al@19834 | 33 copy @dev |
al@19834 | 34 DEPENDS="libgit2 curl-dev libssh2-dev openssl-dev zlib-dev" |
al@19834 | 35 ;; |
al@19834 | 36 esac |
al@19834 | 37 } |