Received: from out0.migadu.com (out0.migadu.com [94.23.1.103]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 3428C781031 for ; Thu, 25 Nov 2021 19:17:31 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salkield.uk; s=key1; t=1637867403; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=J+6jWNyIJLZcGo1QReGpqEDdNqziN1xDZCjOXCGb4+0=; b=WgaBll1ci+ClXRN97J950u1INCUoQuBMcb3WHtXsh9syOusBq4oHsdtqrTtTP6XeNntCvk ftVUL3aly1qTl8r3YMIDc/HLwPeE6RtQw/EC/tsEPUxg9lv1IIWjvrj1kA+dsTftOMuHUr bP1rrcyeoo1c1LjmnB6PAv95UDF0aGw= From: Edd Salkield To: alpine-aports@lists.alpinelinux.org Cc: Edd Salkield Subject: [PATCH] testing/h4h5tools: new aport Date: Thu, 25 Nov 2021 19:09:44 +0000 Message-Id: <20211125190944.21004-1-edd@salkield.uk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit https://support.hdfgroup.org/products/hdf5_tools/h4toh5/ Conversion utilities between hdf4 and hdf5 --- This package depends on my other recently-submitted testing/hdf4 library. It has similar issues of requiring explicit libraries to compensate for the somewhat broken build system, and having nonfunctional upstream tests. testing/h4h5tools/APKBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 testing/h4h5tools/APKBUILD diff --git a/testing/h4h5tools/APKBUILD b/testing/h4h5tools/APKBUILD new file mode 100644 index 0000000000..c4c55888aa --- /dev/null +++ b/testing/h4h5tools/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Edd Salkield +# Maintainer: Edd Salkield +pkgname=h4h5tools +pkgver=2.2.5 +pkgrel=0 +pkgdesc="Conversion utilities between hdf4 and hdf5" +url="https://support.hdfgroup.org/products/hdf5_tools/h4toh5/" +arch="all" +license="custom" +options="!check" # Upstream tests appear broken +depends_dev="hdf4-dev hdf5-dev zlib-dev portablexdr-dev jpeg-dev" +makedepends="$depends-dev" +subpackages="$pkgname-dev $pkgname-doc" +source="https://support.hdfgroup.org/ftp/HDF5/releases/h4toh5/h4toh5-"$pkgver"/src/h4h5tools-"$pkgver".tar.gz" + +build() { + export LIBS="$LIBS -ldf -lmfhdf -lz -lportablexdr -ljpeg" + ./configure --prefix=/usr + make +} + +check() { + make check +} + +package() { + make DESTDIR="$pkgdir" install + install -Dm644 COPYING "$pkgdir"/usr/share/licenses/"$pkgname"/COPYING +} + +sha512sums=" +1749c5d4383695296fcc79dc900c2d04be267f01cfb006be8fd0f4baf0e6d51a04d788c76881fedba3d06ad2bf440a0dbceeb98d8b02b5ceade520900a726d40 h4h5tools-2.2.5.tar.gz +" -- 2.34.1