blob: 7b2daa46dcfda0dae3446d2bd72f0ae4825b6561 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
EAPI=7
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() {
dosbin "${S}/tools/multiconfig"
exeinto /usr/lib/multiconfig
insinto /usr/lib/multiconfig
doexe "${S}/multiconfig"
doins "${S}/common"
for MOD in $IUSE; do
if use $MOD; then
doexe "${S}/$MOD"
fi
done
}
|