wok-current annotate double-conversion/receipt @ rev 24666
created recipes for double-conversion and double-conversion-dev
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 15:40:49 2022 +0100 (2022-03-11) |
parents | |
children | ecd613707114 |
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 |
Hans-G?nter@24666 | 19 # Rules to configure and make the package. |
Hans-G?nter@24666 | 20 compile_rules() |
Hans-G?nter@24666 | 21 { |
Hans-G?nter@24666 | 22 mkdir _build && |
Hans-G?nter@24666 | 23 cd _build && |
Hans-G?nter@24666 | 24 cmake .. \ |
Hans-G?nter@24666 | 25 -D BUILD_TESTING=ON \ |
Hans-G?nter@24666 | 26 -D CMAKE_INSTALL_PREFIX=/usr \ |
Hans-G?nter@24666 | 27 -D CMAKE_INSTALL_LIBDIR=lib \ |
Hans-G?nter@24666 | 28 -D BUILD_SHARED_LIBS=ON |
Hans-G?nter@24666 | 29 make && |
Hans-G?nter@24666 | 30 make install DESTDIR=$DESTDIR |
Hans-G?nter@24666 | 31 |
Hans-G?nter@24666 | 32 } |
Hans-G?nter@24666 | 33 |
Hans-G?nter@24666 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@24666 | 35 genpkg_rules() |
Hans-G?nter@24666 | 36 { |
Hans-G?nter@24666 | 37 cook_copy_files *.so* |
Hans-G?nter@24666 | 38 } |
Hans-G?nter@24666 | 39 |
Hans-G?nter@24666 | 40 testsuite() |
Hans-G?nter@24666 | 41 { |
Hans-G?nter@24666 | 42 cd $src/_build |
Hans-G?nter@24666 | 43 test/cctest/cctest --list | tr -d '<' | xargs test/cctest/cctest |
Hans-G?nter@24666 | 44 } |