wok annotate msgpack/receipt @ rev 21194
systemd: corrected build dependencies
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 05 17:53:25 2019 +0100 (2019-04-05) |
parents | |
children | 08d56db13118 |
rev | line source |
---|---|
pascal@20149 | 1 # SliTaz package receipt. |
pascal@20149 | 2 |
pascal@20149 | 3 PACKAGE="msgpack" |
pascal@20149 | 4 VERSION="2.1.5" |
pascal@20149 | 5 CATEGORY="network" |
pascal@20149 | 6 SHORT_DESC="MessagePack implementation for C and C++" |
pascal@20149 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20149 | 8 LICENSE="MIT" |
pascal@20149 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20149 | 10 WEB_SITE="https://tmate.io/" |
pascal@20149 | 11 WGET_URL="https://github.com/msgpack/msgpack-c/archive/cpp-$VERSION.tar.gz" |
pascal@20149 | 12 |
pascal@20149 | 13 BUILD_DEPENDS="cmake zlib" |
pascal@20149 | 14 |
pascal@20149 | 15 # Rules to configure and make the package. |
pascal@20149 | 16 compile_rules() |
pascal@20149 | 17 { |
pascal@20149 | 18 cmake -DCMAKE_INSTALL_PREFIX=/usr . && |
pascal@20149 | 19 make && |
pascal@20149 | 20 make DESTDIR=$DESTDIR install |
pascal@20149 | 21 } |
pascal@20149 | 22 |
pascal@20149 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20149 | 24 genpkg_rules() |
pascal@20149 | 25 { |
pascal@20149 | 26 mkdir -p $fs/usr/lib |
pascal@20149 | 27 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@20149 | 28 } |