wok view msgpack/receipt @ rev 25161
created recipe for py3k-pillow
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 01 10:04:47 2022 +0100 (2022-07-01) |
parents | 5ea0ce1cecc0 |
children | 7364ffdaaa60 |
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 }