wok annotate libgit2/receipt @ rev 22717

updated fcron (3.0.4 -> 3.2.1)
author Hans-G?nter Theisgen
date Wed Jan 22 15:57:11 2020 +0100 (2020-01-22)
parents e7d07cdc6c6e
children 5ea0ce1cecc0
rev   line source
pascal@20985 1 # SliTaz package receipt.
pascal@20985 2
pascal@20985 3 PACKAGE="libgit2"
pascal@20985 4 VERSION="0.28.1"
pascal@20985 5 CATEGORY="development"
pascal@20985 6 SHORT_DESC="A library implementation of Git"
pascal@20985 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20985 8 LICENSE="GPL2"
pascal@20985 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20985 10 WEB_SITE="https://libgit2.org/"
pascal@20985 11 WGET_URL="https://github.com/libgit2/libgit2/archive/v$VERSION.tar.gz"
pascal@20985 12
pascal@20986 13 BUILD_DEPENDS="cmake python pkg-config openssl-dev"
pascal@20985 14
pascal@20985 15 # Rules to configure and make the package.
pascal@20985 16 compile_rules()
pascal@20985 17 {
pascal@20985 18 mkdir build && cd build
pascal@20985 19 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
pascal@20985 20 cmake --build . --target install
pascal@20985 21 }
pascal@20985 22
pascal@20985 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20985 24 genpkg_rules()
pascal@20985 25 {
pascal@20985 26 mkdir -p $fs/usr/lib
pascal@20985 27 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@20985 28 }