wok-current view msgpack/receipt @ rev 25590
Update cacerts, up elfutils url, fix pkg-config, py3k rebuild, and xorg build with gcc 6
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Aug 24 14:03:59 2023 +0000 (16 months ago) |
parents | 5ea0ce1cecc0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="msgpack"
4 VERSION="3.2.1"
5 CATEGORY="network"
6 SHORT_DESC="MessagePack implementation for C and C++."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://tmate.io/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE-c/archive/cpp-$VERSION.tar.gz"
14 BUILD_DEPENDS="cmake zlib"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
19 sed '/archive.*cpp.*tar/!d;s|.*/cpp-\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 }