mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-18 23:22:24 +01:00
This makes it possible to provide armv7 as additional architecture in Alpine, next to armhf. See the discussion in this ML thread: <https://lists.alpinelinux.org/alpine-devel/6271.html> It's done by adding armv7 next to armhf in the arch line and also !armv7 where the arch line said !armhf. The following script was used:
38 lines
1.0 KiB
Plaintext
38 lines
1.0 KiB
Plaintext
# Contributor: Bradley J Chambers <brad.chambers@gmail.com>
|
|
# Maintainer: Bradley J Chambers <brad.chambers@gmail.com>
|
|
pkgname=laz-perf
|
|
pkgver=1.2.0
|
|
pkgrel=0
|
|
pkgdesc="Alternative LAZ implementation for C++ and JavaScript"
|
|
url="https://github.com/hobu/laz-perf"
|
|
arch="all !armhf !armv7 !s390x" # armhf: io_test segfaults
|
|
license="LGPL-2.0-or-later"
|
|
makedepends="cmake"
|
|
install=""
|
|
subpackages="$pkgname-dev"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/hobu/$pkgname/archive/$pkgver.tar.gz"
|
|
builddir="$srcdir/$pkgname-$pkgver"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
|
|
mkdir build && cd build
|
|
cmake .. \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DWITH_TESTS=ON
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"/build
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"/build
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="f6e52e48848d4c409c7620b111b74160369f0cd5fd48c1a711139cc0337aea8dd9401fb0e098593f24edb2d71d910ca05931d3a411639d8aaf5183b7288ba8d0 laz-perf-1.2.0.tar.gz"
|