wok view libmpack/receipt @ rev 25614
Add libslirp
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 03 11:59:41 2023 +0000 (15 months ago) |
parents | 2b37f876f632 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libmpack"
4 VERSION="1.0.5"
5 CATEGORY="libs"
6 SHORT_DESC="Simple implementation of msgpack in C."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://github.com/libmpack/libmpack"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}/archive/$VERSION.tar.gz"
14 BUILD_DEPENDS="libtool"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 make &&
27 make install \
28 DESTDIR="$DESTDIR" \
29 PREFIX=/usr
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cook_copy_files *.so*
36 }