# HG changeset patch # User Hans-G?nter Theisgen # Date 1647009649 -3600 # Node ID bacc73f6bb3add74cee51740cff611a0824ff312 # Parent fc5691f50feadd107f3e92658a8a9daae31bb740 created recipes for double-conversion and double-conversion-dev diff -r fc5691f50fea -r bacc73f6bb3a double-conversion-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/double-conversion-dev/receipt Fri Mar 11 15:40:49 2022 +0100 @@ -0,0 +1,21 @@ +source="" + +# SliTaz package receipt. + +PACKAGE="double-conversion-dev" +VERSION="3.2.0" +CATEGORY="development" +SHORT_DESC="Binary-decimal and decimal-binary routines for IEEE doubles - development files." +MAINTAINER="maintainer@slitaz.org" +LICENSE="BSD" +WEB_SITE="https://github.com/google/double-conversion" + +DEPENDS="double-conversion" +WANTED="double-conversion" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cook_copy_folders cmake + cook_copy_folders include +} diff -r fc5691f50fea -r bacc73f6bb3a double-conversion/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/double-conversion/description.txt Fri Mar 11 15:40:49 2022 +0100 @@ -0,0 +1,7 @@ +Double-conversion provides binary-decimal and decimal-binary routines +for IEEE doubles. + +The library consists of efficient conversion routines that have been +extracted from the V8 JavaScript engine. +The code has been refactored and improved so that it can be used more +easily in other projects. diff -r fc5691f50fea -r bacc73f6bb3a double-conversion/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/double-conversion/receipt Fri Mar 11 15:40:49 2022 +0100 @@ -0,0 +1,44 @@ +source="" + +# SliTaz package receipt. + +PACKAGE="double-conversion" +VERSION="3.2.0" +CATEGORY="development" +TAGS="IEEE" +SHORT_DESC="Binary-decimal and decimal-binary routines for IEEE doubles." +MAINTAINER="maintainer@slitaz.org" +LICENSE="BSD" +WEB_SITE="https://github.com/google/double-conversion" + +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="https://github.com/google/$PACKAGE/archive/v$VERSION.tar.gz" + +BUILD_DEPENDS="cmake" + +# Rules to configure and make the package. +compile_rules() +{ + mkdir _build && + cd _build && + cmake .. \ + -D BUILD_TESTING=ON \ + -D CMAKE_INSTALL_PREFIX=/usr \ + -D CMAKE_INSTALL_LIBDIR=lib \ + -D BUILD_SHARED_LIBS=ON + make && + make install DESTDIR=$DESTDIR + +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cook_copy_files *.so* +} + +testsuite() +{ + cd $src/_build + test/cctest/cctest --list | tr -d '<' | xargs test/cctest/cctest +}