wok-current view double-conversion/receipt @ rev 25574
asterisk: make install-headers inserted
author | Hans-G?nter Theisgen |
---|---|
date | Sat May 13 17:20:22 2023 +0100 (19 months ago) |
parents | bacc73f6bb3a |
children |
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 }