wok-current view libgit2/receipt @ rev 22348

xarchiver: removed modification of desktop file
author Hans-G?nter Theisgen
date Mon Nov 18 10:22:34 2019 +0100 (2019-11-18)
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 }