monkey: add musl-compilation support.
This commit is contained in:
parent
bdd0b38aab
commit
1eb0830df2
1 changed files with 7 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'monkey'
|
||||
pkgname=monkey
|
||||
version=1.5.6
|
||||
revision=3
|
||||
revision=4
|
||||
build_style=configure
|
||||
makedepends="mbedtls-devel"
|
||||
configure_args+="--prefix=/usr --plugdir=/usr/share/monkey/plugins "
|
||||
|
@ -37,6 +37,11 @@ system_accounts="httpd"
|
|||
httpd_descr="Monkey HTTP server"
|
||||
httpd_homedir="/srv/httpd"
|
||||
|
||||
case $XBPS_TARGET_MACHINE in
|
||||
*-musl)
|
||||
configure_args+="--musl-mode --no-backtrace " ;;
|
||||
esac
|
||||
|
||||
post_install() {
|
||||
vmkdir usr/share/monkey/htdocs
|
||||
mv ${DESTDIR}/srv/httpd/* ${DESTDIR}/usr/share/monkey/htdocs
|
||||
|
|
Loading…
Add table
Reference in a new issue