~dricottone/apkbuilds

ref: 5a83bac6a997f551af88e4bc462e433cdc693ba4 apkbuilds/src/nginx-dav-ext-module/APKBUILD -rw-r--r-- 853 bytes
5a83bac6Dominic Ricottone WIP: nginx-dav-ext-module 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
pkgname=nginx-mod-http-dav-ext
pkgver=3.0.0
pkgrel=0
pkgdesc="Nginx module for WebDAV support"
url="https://github.com/arut/nginx-dav-ext-module"
arch="all"
license="BSD-2-Clause"
depends="nginx"
makedepends="
	linux-headers
	openssl-dev
	pcre2-dev
	zlib-dev
	openssl
	abuild
	musl-dev
	libxslt-dev
	libxml2-utils
	make
	gcc
	unzip
	xz
	g++
	coreutils
"
source="
	nginx-1.25.4.tar.gz::https://nginx.org/download/nginx-1.25.4.tar.gz
	nginx-dav-ext-module-$pkgver.tar.gz::https://github.com/arut/nginx-dav-ext-module/archive/v$pkgver.gz
"

options="!check"

build() {
	cd "$srcdir"/nginx-1.25.4/
	./configure \
		--with-compat \
		--with-http_dav_module \
		--add-dynamic-module="$srcdir"/nginx-dav-ext-module-$pkgver
	make modules
}

package() {
	install -Dm755 "$srcdir"/nginx-1.25.4/objs/ngx_http_dav_ext_module.so \
		"$pkgdir"/etc/nginx/modules/
}