mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-20 22:26:50 +02:00
43 lines
1.1 KiB
Text
43 lines
1.1 KiB
Text
# Contributor: Guillaume Quintard <guillaume.quintard@gmail.com>
|
|
# Maintainer: Guillaume Quintard <guillaume.quintard@gmail.com>
|
|
pkgname=varnish-modules
|
|
pkgver=0.24.0
|
|
pkgrel=0
|
|
pkgdesc="collection of modules for varnish"
|
|
url="https://github.com/varnish/varnish-modules"
|
|
arch="all"
|
|
license="BSD-2-Clause"
|
|
_vversion="7.5.0"
|
|
makedepends="autoconf automake gcc libtool make py3-docutils python3
|
|
varnish-dev~=$_vversion"
|
|
depends="varnish~=$_vversion"
|
|
subpackages="$pkgname-doc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/varnish/varnish-modules/releases/download/$pkgver/varnish-modules-$pkgver.tar.gz"
|
|
|
|
case "$CARCH" in
|
|
loongarch64) options="$options !check";;
|
|
esac
|
|
|
|
build() {
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
--localstatedir=/var/lib
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check -k VERBOSE=1
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
fd1b1b7ff61654e568df208229eb1af0086c98726592d1269ca5e13b24ce292a4ec6aeea52a5469f465ca426019629ef5db5a54dfed7f1fd2f0a4b50c92503a6 varnish-modules-0.24.0.tar.gz
|
|
"
|