wok view libgit2/receipt @ rev 23855

Up dropbear (2020.79), nagios (4.4.6)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 16 20:15:47 2020 +0000 (2020-06-16)
parents e7d07cdc6c6e
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="libgit2"
4 VERSION="0.28.1"
5 CATEGORY="development"
6 SHORT_DESC="A library implementation of Git"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://libgit2.org/"
11 WGET_URL="https://github.com/libgit2/libgit2/archive/v$VERSION.tar.gz"
13 BUILD_DEPENDS="cmake python pkg-config openssl-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 mkdir build && cd build
19 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
20 cmake --build . --target install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib
27 cp -a $install/usr/lib/*.so* $fs/usr/lib
28 }