wok view double-conversion/receipt @ rev 24751
cairo-gl: modified lookup-symbol.c for binutils-2.37
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 16 17:24:41 2022 +0100 (2022-03-16) |
parents | bacc73f6bb3a |
children | fe1b5660fdd1 |
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 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 mkdir _build &&
30 cd _build &&
31 cmake .. \
32 -D BUILD_TESTING=ON \
33 -D CMAKE_INSTALL_PREFIX=/usr \
34 -D CMAKE_INSTALL_LIBDIR=lib \
35 -D BUILD_SHARED_LIBS=ON
36 make &&
37 make install DESTDIR=$DESTDIR
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 cook_copy_files *.so*
45 }
47 testsuite()
48 {
49 cd $src/_build
50 test/cctest/cctest --list | tr -d '<' | xargs test/cctest/cctest
51 }