diod: bump 1.0.24, multiarch, old version removed
This commit is contained in:
parent
aec3fd2aed
commit
13675c093b
|
@ -20,7 +20,7 @@ DEPENDENCIES="
|
||||||
src_configure() {
|
src_configure() {
|
||||||
local opts=""
|
local opts=""
|
||||||
if option lua; then
|
if option lua; then
|
||||||
CFLAGS="${CFLAGS} -I/usr/include/lua5.1"
|
CFLAGS="${CFLAGS} -I/usr/$(exhost --target)/include/lua5.1"
|
||||||
opts=--with-lua-suffix=5.1
|
opts=--with-lua-suffix=5.1
|
||||||
fi
|
fi
|
||||||
econf $opts
|
econf $opts
|
||||||
|
@ -37,17 +37,17 @@ diod_mv() {
|
||||||
src_install() {
|
src_install() {
|
||||||
default_src_install
|
default_src_install
|
||||||
|
|
||||||
dodir /usr/bin
|
dodir /usr/$(exhost --target)/bin
|
||||||
diod_mv /usr/bin /usr/sbin/dtop /usr/sbin/diod{cat,date,ls,showmount}
|
diod_mv /usr/$(exhost --target)/bin /usr/$(exhost --target)/sbin/dtop /usr/$(exhost --target)/sbin/diod{cat,date,ls,showmount}
|
||||||
|
|
||||||
if option systemd; then
|
if option systemd; then
|
||||||
install_systemd_files
|
install_systemd_files
|
||||||
fi
|
fi
|
||||||
|
|
||||||
insinto /usr/sbin
|
insinto /usr/$(exhost --target)/sbin
|
||||||
INSOPTIONS="-m0755"
|
INSOPTIONS="-m0755"
|
||||||
hereins mount.diod <<EOF
|
hereins mount.diod <<EOF
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
exec /usr/sbin/diodmount -n "$@"
|
exec /usr/$(exhost --target)/sbin/diodmount -n "$@"
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
Loading…
Reference in a new issue