wok annotate msgpack/receipt @ rev 25682

Up libqcow (20240308)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 24 18:25:46 2024 +0000 (5 months ago)
parents f8a963794d31
children
rev   line source
pascal@20149 1 # SliTaz package receipt.
pascal@20149 2
pascal@20149 3 PACKAGE="msgpack"
Hans-G?nter@23195 4 VERSION="3.2.1"
pascal@20149 5 CATEGORY="network"
Hans-G?nter@21491 6 SHORT_DESC="MessagePack implementation for C and C++."
pascal@20149 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20149 8 LICENSE="MIT"
Hans-G?nter@21491 9 WEB_SITE="https://tmate.io/"
Hans-G?nter@21491 10
pascal@20149 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21491 12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE-c/archive/cpp-$VERSION.tar.gz"
pascal@20149 13
pascal@20149 14 BUILD_DEPENDS="cmake zlib"
pascal@20149 15
pascal@25600 16 # What is the latest version available today?
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@25600 20 sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q'
pascal@24055 21 }
pascal@24055 22
pascal@20149 23 # Rules to configure and make the package.
pascal@20149 24 compile_rules()
pascal@20149 25 {
pascal@20149 26 cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
pascal@20149 27 make &&
pascal@20149 28 make DESTDIR=$DESTDIR install
pascal@20149 29 }
pascal@20149 30
pascal@20149 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20149 32 genpkg_rules()
pascal@20149 33 {
pascal@20149 34 mkdir -p $fs/usr/lib
Hans-G?nter@23195 35 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@20149 36 }