wok view 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 source
1 source=""
3 # SliTaz package receipt.
5 PACKAGE="double-conversion"
6 VERSION="3.2.0"
7 CATEGORY="development"
8 TAGS="IEEE"
9 SHORT_DESC="Binary-decimal and decimal-binary routines for IEEE doubles."
10 MAINTAINER="maintainer@slitaz.org"
11 LICENSE="BSD"
12 WEB_SITE="https://github.com/google/double-conversion"
14 TARBALL="$PACKAGE-$VERSION.tar.gz"
15 WGET_URL="https://github.com/google/$PACKAGE/archive/v$VERSION.tar.gz"
17 BUILD_DEPENDS="cmake"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 mkdir _build &&
23 cd _build &&
24 cmake .. \
25 -D BUILD_TESTING=ON \
26 -D CMAKE_INSTALL_PREFIX=/usr \
27 -D CMAKE_INSTALL_LIBDIR=lib \
28 -D BUILD_SHARED_LIBS=ON
29 make &&
30 make install DESTDIR=$DESTDIR
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cook_copy_files *.so*
38 }
40 testsuite()
41 {
42 cd $src/_build
43 test/cctest/cctest --list | tr -d '<' | xargs test/cctest/cctest
44 }