wok annotate msgpack/receipt @ rev 24941

memtest: add binutils 2.37 support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 16 12:43:33 2022 +0000 (2022-04-16)
parents 5ea0ce1cecc0
children 7364ffdaaa60
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@24055 16 current_version()
pascal@24055 17 {
pascal@24055 18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24100 19 sed '/archive.*cpp.*tar/!d;s|.*/cpp-\(.*\).tar.*|\1|;q'
pascal@24055 20 }
pascal@24055 21
pascal@20149 22 # Rules to configure and make the package.
pascal@20149 23 compile_rules()
pascal@20149 24 {
pascal@20149 25 cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
pascal@20149 26 make &&
pascal@20149 27 make DESTDIR=$DESTDIR install
pascal@20149 28 }
pascal@20149 29
pascal@20149 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20149 31 genpkg_rules()
pascal@20149 32 {
pascal@20149 33 mkdir -p $fs/usr/lib
Hans-G?nter@23195 34 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@20149 35 }