wok view msgpack/receipt @ rev 20656
tazpkg: do not assume . in search path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 13 11:43:59 2019 +0100 (2019-01-13) |
parents | |
children | 08d56db13118 |
line source
1 # SliTaz package receipt.
3 PACKAGE="msgpack"
4 VERSION="2.1.5"
5 CATEGORY="network"
6 SHORT_DESC="MessagePack implementation for C and C++"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://tmate.io/"
11 WGET_URL="https://github.com/msgpack/msgpack-c/archive/cpp-$VERSION.tar.gz"
13 BUILD_DEPENDS="cmake zlib"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
19 make &&
20 make DESTDIR=$DESTDIR install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib
27 cp -a $install/usr/lib/*.so* $fs/usr/lib
28 }