wok annotate double-conversion/receipt @ rev 25213

updated python-paste (3.4.0 -> 3.5.0)
author Hans-G?nter Theisgen
date Wed Jul 13 15:17:25 2022 +0100 (2022-07-13)
parents bacc73f6bb3a
children fe1b5660fdd1
rev   line source
Hans-G?nter@24666 1 source=""
Hans-G?nter@24666 2
Hans-G?nter@24666 3 # SliTaz package receipt.
Hans-G?nter@24666 4
Hans-G?nter@24666 5 PACKAGE="double-conversion"
Hans-G?nter@24666 6 VERSION="3.2.0"
Hans-G?nter@24666 7 CATEGORY="development"
Hans-G?nter@24666 8 TAGS="IEEE"
Hans-G?nter@24666 9 SHORT_DESC="Binary-decimal and decimal-binary routines for IEEE doubles."
Hans-G?nter@24666 10 MAINTAINER="maintainer@slitaz.org"
Hans-G?nter@24666 11 LICENSE="BSD"
Hans-G?nter@24666 12 WEB_SITE="https://github.com/google/double-conversion"
Hans-G?nter@24666 13
Hans-G?nter@24666 14 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@24666 15 WGET_URL="https://github.com/google/$PACKAGE/archive/v$VERSION.tar.gz"
Hans-G?nter@24666 16
Hans-G?nter@24666 17 BUILD_DEPENDS="cmake"
Hans-G?nter@24666 18
pascal@24673 19 # What is the latest version available today?
pascal@24673 20 current_version()
pascal@24673 21 {
pascal@24673 22 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24673 23 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24673 24 }
pascal@24673 25
Hans-G?nter@24666 26 # Rules to configure and make the package.
Hans-G?nter@24666 27 compile_rules()
Hans-G?nter@24666 28 {
Hans-G?nter@24666 29 mkdir _build &&
Hans-G?nter@24666 30 cd _build &&
Hans-G?nter@24666 31 cmake .. \
Hans-G?nter@24666 32 -D BUILD_TESTING=ON \
Hans-G?nter@24666 33 -D CMAKE_INSTALL_PREFIX=/usr \
Hans-G?nter@24666 34 -D CMAKE_INSTALL_LIBDIR=lib \
Hans-G?nter@24666 35 -D BUILD_SHARED_LIBS=ON
Hans-G?nter@24666 36 make &&
Hans-G?nter@24666 37 make install DESTDIR=$DESTDIR
Hans-G?nter@24666 38
Hans-G?nter@24666 39 }
Hans-G?nter@24666 40
Hans-G?nter@24666 41 # Rules to gen a SliTaz package suitable for Tazpkg.
Hans-G?nter@24666 42 genpkg_rules()
Hans-G?nter@24666 43 {
Hans-G?nter@24666 44 cook_copy_files *.so*
Hans-G?nter@24666 45 }
Hans-G?nter@24666 46
Hans-G?nter@24666 47 testsuite()
Hans-G?nter@24666 48 {
Hans-G?nter@24666 49 cd $src/_build
Hans-G?nter@24666 50 test/cctest/cctest --list | tr -d '<' | xargs test/cctest/cctest
Hans-G?nter@24666 51 }