Received: from mail.ovgu.de (mail.ovgu.de [141.44.1.66]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id C00A9781DA0 for ; Mon, 2 Sep 2019 10:03:04 +0000 (UTC) Received: from mail.ovgu.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 97CB4415EB for ; Mon, 2 Sep 2019 12:03:04 +0200 (CEST) Received: from faultier2go.iks.cs.ovgu.de (reh-a.iks.cs.ovgu.de [141.44.29.160]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.ovgu.de (Postfix) with ESMTPSA id 6A57C4005F; Mon, 2 Sep 2019 12:03:04 +0200 (CEST) From: Marian Buschsieweke To: alpine-aports@lists.alpinelinux.org Cc: Marian Buschsieweke Subject: [PATCH 5/6] testing/double-conversion: New aport Date: Mon, 2 Sep 2019 12:02:53 +0200 Message-Id: <20190902100254.6020-5-marian.buschsieweke@ovgu.de> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-PMX-Version: 6.4.6.2792898, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2019.9.2.95417, AntiVirus-Engine: 5.65.0, AntiVirus-Data: 2019.9.2.5650000 X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1400_1499 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, LEGITIMATE_SIGNS 0, MULTIPLE_REAL_RCPTS 0, URI_WITH_PATH_ONLY 0, __ANY_URI 0, __BODY_NO_MAILTO 0, __CC_NAME 0, __CC_NAME_DIFF_FROM_ACC 0, __CC_REAL_NAMES 0, __COURIER_PHRASE 0, __CP_URI_IN_BODY 0, __CTE 0, __FRAUD_MONEY_CURRENCY 0, __FRAUD_MONEY_CURRENCY_DOLLAR 0, __FROM_DOMAIN_IN_ANY_CC1 0, __FROM_DOMAIN_IN_RCPT 0, __HAS_CC_HDR 0, __HAS_FROM 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __HTTPS_URI 0, __INVOICE_MULTILINGUAL 0, __MIME_TEXT_ONLY 0, __MIME_TEXT_P 0, __MIME_TEXT_P1 0, __MIME_VERSION 0, __MULTIPLE_URI_TEXT 0, __NO_HTML_TAG_RAW 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_IN_BODY 0, __URI_NOT_IMG 0, __URI_NO_WWW 0, __URI_NS , __URI_WITH_PATH 0' X-Spam-Score: Gauge= X-PMX-consideredAsSpam: no Binary-decimal and decimal-binary routines for IEEE doubles https://github.com/google/double-conversion --- testing/double-conversion/APKBUILD | 34 ++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 testing/double-conversion/APKBUILD diff --git a/testing/double-conversion/APKBUILD b/testing/double-conversion/APKBUILD new file mode 100644 index 0000000000..41a87ae402 --- /dev/null +++ b/testing/double-conversion/APKBUILD @@ -0,0 +1,34 @@ +# Maintainer: Marian Buschsieweke +pkgname=double-conversion +pkgver=3.1.5 +pkgrel=0 +pkgdesc="Binary-decimal and decimal-binary routines for IEEE doubles" +url="https://github.com/google/double-conversion" +arch="all" +license="BSD-3-Clause" +subpackages="$pkgname-dev" +source="$pkgname-$pkgver.tar.gz::https://github.com/google/double-conversion/archive/v$pkgver.tar.gz" + +prepare() { + default_prepare + mkdir -p build +} + +build() { + cd build + + cmake -DBUILD_TESTING=ON -DCMAKE_INSTALL_PREFIX=/usr .. + make +} + +check() { + cd build + test/cctest/cctest --list | tr -d '<' | xargs test/cctest/cctest +} + +package() { + cd build + make DESTDIR="$pkgdir" install +} + +sha512sums="0aeabdbfa06c3c4802905ac4bf8c2180840577677b47d45e1c91034fe07746428c9db79260ce6bdbdf8b584746066cea9247ba43a9c38155caf1ef44e214180a double-conversion-3.1.5.tar.gz" -- 2.23.0