EAPI=6 DESCRIPTION="Multiple configuration system" HOMEPAGE="https://git.cynerd.cz/multiconfig/" SRC_URI="https://git.cynerd.cz/multiconfig/snapshot/${P}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-3.0+" SLOT="0" KEYWORDS="amd64 x86" IUSE="firewall hosts openvpn" DEPEND=" firewall? ( net-firewall/iptables ) openvpn? ( net-vpn/openvpn )" RDEPEND="${DEPEND}" src_install() { dodir /usr/sbin exeinto /usr/sbin doexe "${S}/tools/multiconfig" dodir /usr/lib/multiconfig exeinto /usr/lib/multiconfig doexe "${S}/multiconfig" for MOD in $IUSE; do if use $MOD; then doexe "${S}/$MOD" fi done }