summaryrefslogtreecommitdiff
path: root/sys-apps/multiconfig/multiconfig-0.2-r1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/multiconfig/multiconfig-0.2-r1.ebuild')
-rw-r--r--sys-apps/multiconfig/multiconfig-0.2-r1.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/sys-apps/multiconfig/multiconfig-0.2-r1.ebuild b/sys-apps/multiconfig/multiconfig-0.2-r1.ebuild
new file mode 100644
index 0000000..92ece73
--- /dev/null
+++ b/sys-apps/multiconfig/multiconfig-0.2-r1.ebuild
@@ -0,0 +1,31 @@
+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
+}