Receipt for package "libgit2"
# SliTaz package receipt. PACKAGE="libgit2" VERSION="0.28.1" CATEGORY="development" SHORT_DESC="A library implementation of Git" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="https://libgit2.org/" WGET_URL="https://github.com/libgit2/libgit2/archive/v$VERSION.tar.gz" BUILD_DEPENDS="cmake python pkg-config openssl-dev" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. compile_rules() { mkdir build && cd build cmake -DCMAKE_INSTALL_PREFIX=/usr .. && cmake --build . --target install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $install/usr/lib/*.so* $fs/usr/lib }
5935 packages and 845883 files in cooking database (Thu Jun 27 00:01:54 2024)