From 867a9110a5473ebe939ca2c4f9896aa99293fbbf Mon Sep 17 00:00:00 2001 From: Denis Knauf Date: Thu, 1 Oct 2015 22:49:43 +0200 Subject: [PATCH] diod: ar -> $(exhost --target)-ar, use own systemd-service --- packages/net-fs/diod/diod-1.0.24.exheres-0 | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/packages/net-fs/diod/diod-1.0.24.exheres-0 b/packages/net-fs/diod/diod-1.0.24.exheres-0 index 369d05d..66aa298 100644 --- a/packages/net-fs/diod/diod-1.0.24.exheres-0 +++ b/packages/net-fs/diod/diod-1.0.24.exheres-0 @@ -19,6 +19,7 @@ DEPENDENCIES=" src_configure() { local opts="" + edo sed -i -e 's/^AR = ar/AR = '"$(exhost --target)-ar"'/' ${WORK}/**/Makefile.in if option lua; then CFLAGS="${CFLAGS} -I/usr/$(exhost --target)/include/lua5.1" opts=--with-lua-suffix=5.1 @@ -26,28 +27,20 @@ src_configure() { econf $opts } -diod_mv() { - local dest="${IMAGE}/$1" - shift - for f; do - edo mv "${IMAGE}/$f" "$dest" - done -} - src_install() { default_src_install dodir /usr/$(exhost --target)/bin - diod_mv /usr/$(exhost --target)/bin /usr/$(exhost --target)/sbin/dtop /usr/$(exhost --target)/sbin/diod{cat,date,ls,showmount} + edo rm -rf "${IMAGE}/etc/systemd" if option systemd; then install_systemd_files fi - insinto /usr/$(exhost --target)/sbin + insinto /usr/$(exhost --target)/bin INSOPTIONS="-m0755" hereins mount.diod <