wok-next diff libgit2/receipt @ rev 20298
freerdp-dev: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 09 22:17:38 2017 +0100 (2017-11-09) |
parents | |
children | e6615350078d |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libgit2/receipt Thu Nov 09 22:17:38 2017 +0100 1.3 @@ -0,0 +1,40 @@ 1.4 +# SliTaz package receipt v2. 1.5 + 1.6 +PACKAGE="libgit2" 1.7 +VERSION="0.26.0" 1.8 +CATEGORY="libs" 1.9 +SHORT_DESC="A linkable library for Git" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="GPL2" 1.12 +WEB_SITE="https://libgit2.github.com/" 1.13 + 1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 +WGET_URL="https://github.com/libgit2/libgit2/archive/v$VERSION.tar.gz" 1.16 + 1.17 +BUILD_DEPENDS="cmake curl-dev python" 1.18 +SPLIT="libgit2-dev" 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +compile_rules() 1.22 +{ 1.23 + cmake \ 1.24 + -DCMAKE_BUILD_TYPE=Release \ 1.25 + -DCMAKE_INSTALL_PREFIX=/usr \ 1.26 + -DTHREADSAFE=ON && 1.27 + make && make install 1.28 +} 1.29 + 1.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 +genpkg_rules() 1.32 +{ 1.33 + case $PACKAGE in 1.34 + libgit2) 1.35 + copy @std 1.36 + DEPENDS="libcrypto libcurl libssh2 libssl zlib" 1.37 + ;; 1.38 + *-dev) 1.39 + copy @dev 1.40 + DEPENDS="libgit2 curl-dev libssh2-dev openssl-dev zlib-dev" 1.41 + ;; 1.42 + esac 1.43 +}