wok-6.x 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 fc5691f50fea
children 7f162a2d0d51
files double-conversion-dev/receipt double-conversion/description.txt double-conversion/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/double-conversion-dev/receipt	Fri Mar 11 15:40:49 2022 +0100
     1.3 @@ -0,0 +1,21 @@
     1.4 +source=""
     1.5 +
     1.6 +# SliTaz package receipt.
     1.7 +
     1.8 +PACKAGE="double-conversion-dev"
     1.9 +VERSION="3.2.0"
    1.10 +CATEGORY="development"
    1.11 +SHORT_DESC="Binary-decimal and decimal-binary routines for IEEE doubles - development files."
    1.12 +MAINTAINER="maintainer@slitaz.org"
    1.13 +LICENSE="BSD"
    1.14 +WEB_SITE="https://github.com/google/double-conversion"
    1.15 +
    1.16 +DEPENDS="double-conversion"
    1.17 +WANTED="double-conversion"
    1.18 +
    1.19 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.20 +genpkg_rules()
    1.21 +{
    1.22 +	cook_copy_folders	cmake
    1.23 +	cook_copy_folders	include
    1.24 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/double-conversion/description.txt	Fri Mar 11 15:40:49 2022 +0100
     2.3 @@ -0,0 +1,7 @@
     2.4 +Double-conversion provides binary-decimal and decimal-binary routines
     2.5 +for IEEE doubles.
     2.6 +
     2.7 +The library consists of efficient conversion routines that have been
     2.8 +extracted from the V8 JavaScript engine.
     2.9 +The code has been refactored and improved so that it can be used more
    2.10 +easily in other projects.
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/double-conversion/receipt	Fri Mar 11 15:40:49 2022 +0100
     3.3 @@ -0,0 +1,44 @@
     3.4 +source=""
     3.5 +
     3.6 +# SliTaz package receipt.
     3.7 +
     3.8 +PACKAGE="double-conversion"
     3.9 +VERSION="3.2.0"
    3.10 +CATEGORY="development"
    3.11 +TAGS="IEEE"
    3.12 +SHORT_DESC="Binary-decimal and decimal-binary routines for IEEE doubles."
    3.13 +MAINTAINER="maintainer@slitaz.org"
    3.14 +LICENSE="BSD"
    3.15 +WEB_SITE="https://github.com/google/double-conversion"
    3.16 +
    3.17 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.18 +WGET_URL="https://github.com/google/$PACKAGE/archive/v$VERSION.tar.gz"
    3.19 +
    3.20 +BUILD_DEPENDS="cmake"
    3.21 +
    3.22 +# Rules to configure and make the package.
    3.23 +compile_rules()
    3.24 +{
    3.25 +	mkdir	_build &&
    3.26 +	cd	_build &&
    3.27 +	cmake	..				\
    3.28 +		-D BUILD_TESTING=ON		\
    3.29 +		-D CMAKE_INSTALL_PREFIX=/usr	\
    3.30 +		-D CMAKE_INSTALL_LIBDIR=lib	\
    3.31 +		-D BUILD_SHARED_LIBS=ON
    3.32 +	make &&
    3.33 +	make install DESTDIR=$DESTDIR
    3.34 +
    3.35 +}
    3.36 +
    3.37 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.38 +genpkg_rules()
    3.39 +{
    3.40 +	cook_copy_files	*.so*
    3.41 +}
    3.42 +
    3.43 +testsuite()
    3.44 +{
    3.45 +	cd	$src/_build
    3.46 +	test/cctest/cctest --list | tr -d '<' | xargs test/cctest/cctest
    3.47 +}