wok-6.x view libgit2/receipt @ rev 22985

Up perl-image-magick (7.0.9.26)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 01 10:23:30 2020 +0100 (2020-03-01)
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 }