mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
community/althttpd: add utils sub-package
This commit is contained in:
parent
134b2491f5
commit
3cbbb19d0e
@ -7,9 +7,9 @@ pkgdesc="Small, simple, stand-alone HTTP server"
|
||||
url="https://sqlite.org/althttpd/doc/trunk/althttpd.md"
|
||||
arch="all"
|
||||
license="Public-Domain"
|
||||
makedepends="openssl-dev>3"
|
||||
makedepends="openssl-dev>3 sqlite-dev"
|
||||
options="!check" # no test suite
|
||||
subpackages="$pkgname-doc $pkgname-openrc"
|
||||
subpackages="$pkgname-doc $pkgname-openrc $pkgname-utils"
|
||||
source="
|
||||
$pkgname-$pkgver.tar.gz::https://sqlite.org/althttpd/tarball?r=$pkgver
|
||||
10-allow-filename-plus-sign.patch
|
||||
@ -20,7 +20,7 @@ builddir="$srcdir"
|
||||
|
||||
build() {
|
||||
sed -in -e 's/^CFLAGS=/CFLAGS+=/' Makefile
|
||||
make althttpsd
|
||||
make althttpsd logtodb
|
||||
}
|
||||
|
||||
package() {
|
||||
@ -30,10 +30,18 @@ package() {
|
||||
"$pkgdir"/etc/init.d/althttpd
|
||||
install -D althttpsd \
|
||||
"$pkgdir"/usr/bin/althttpd
|
||||
install -D logtodb \
|
||||
"$pkgdir"/usr/bin/logtodb
|
||||
install -Dm644 althttpd.md \
|
||||
"$pkgdir"/usr/share/doc/$pkgname/althttpd.md
|
||||
}
|
||||
|
||||
utils() {
|
||||
pkgdesc="$pkgname utilities"
|
||||
|
||||
amove /usr/bin/logtodb
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
c99bbd7cd5cb844bffa62d154c91b0275071ed7acc5f9f5021fbdd9e8fc07478dc990a8615644e1d57ab4d39250fd0ac65efdc0f7cfb70fba5a0b2fe9a2e5524 althttpd-202405010759.tar.gz
|
||||
ece2633a822589f1e49129bf00fb4b066e9d079e3e56f7c78e3bcba02c8aad9ae3ee75f6459360524d7c2a3a7dc7cfea4eb1652b4cbf1aff60d968e1f816b535 10-allow-filename-plus-sign.patch
|
||||
|
Loading…
Reference in New Issue
Block a user