wok diff 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 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/double-conversion/receipt Fri Mar 11 15:40:49 2022 +0100 1.3 @@ -0,0 +1,44 @@ 1.4 +source="" 1.5 + 1.6 +# SliTaz package receipt. 1.7 + 1.8 +PACKAGE="double-conversion" 1.9 +VERSION="3.2.0" 1.10 +CATEGORY="development" 1.11 +TAGS="IEEE" 1.12 +SHORT_DESC="Binary-decimal and decimal-binary routines for IEEE doubles." 1.13 +MAINTAINER="maintainer@slitaz.org" 1.14 +LICENSE="BSD" 1.15 +WEB_SITE="https://github.com/google/double-conversion" 1.16 + 1.17 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.18 +WGET_URL="https://github.com/google/$PACKAGE/archive/v$VERSION.tar.gz" 1.19 + 1.20 +BUILD_DEPENDS="cmake" 1.21 + 1.22 +# Rules to configure and make the package. 1.23 +compile_rules() 1.24 +{ 1.25 + mkdir _build && 1.26 + cd _build && 1.27 + cmake .. \ 1.28 + -D BUILD_TESTING=ON \ 1.29 + -D CMAKE_INSTALL_PREFIX=/usr \ 1.30 + -D CMAKE_INSTALL_LIBDIR=lib \ 1.31 + -D BUILD_SHARED_LIBS=ON 1.32 + make && 1.33 + make install DESTDIR=$DESTDIR 1.34 + 1.35 +} 1.36 + 1.37 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.38 +genpkg_rules() 1.39 +{ 1.40 + cook_copy_files *.so* 1.41 +} 1.42 + 1.43 +testsuite() 1.44 +{ 1.45 + cd $src/_build 1.46 + test/cctest/cctest --list | tr -d '<' | xargs test/cctest/cctest 1.47 +}