wok-6.x annotate libmpack/receipt @ rev 25560

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