monkey: move libdir to /usr/lib{32,64}/monkey

Those shared-objects are plugins for monkey,
its included debian rules also put them in /usr/lib/monkey.

While we're at it, fix --musl-mode argument.
(The actual code doesn't change if MUSL_CODE defined or not)
This commit is contained in:
Đoàn Trần Công Danh 2021-02-28 22:55:13 +07:00
parent 6e4746af1d
commit cc09faa000

View file

@ -1,9 +1,10 @@
# Template file for 'monkey'
pkgname=monkey
version=1.6.9
revision=2
revision=3
build_style=configure
configure_args="--prefix=/usr --sbindir=/usr/bin --libdir=/usr/lib
configure_args="--prefix=/usr --sbindir=/usr/bin
--libdir=/usr/lib$XBPS_TARGET_WORDSIZE/$pkgname
--sysconfdir=/etc/monkey/ --enable-plugins=mbedtls --malloc-libc
--webroot=/srv/www/$pkgname --mandir=/usr/share/man --default-user=_monkey
--pidfile=/var/run/monkey.pid --logdir=/var/log/monkey"
@ -34,7 +35,7 @@ make_dirs="
CFLAGS="-fcommon"
case $XBPS_TARGET_MACHINE in
*-musl) configure_args+="--musl-mode --no-backtrace ";;
*-musl) configure_args+=" --musl-mode --no-backtrace ";;
esac
post_install() {
@ -47,6 +48,5 @@ monkey-devel_package() {
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}