mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-24 01:09:38 +01:00
36 lines
746 B
Bash
36 lines
746 B
Bash
# Copyright 1999-2017 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
inherit bash-completion-r1 systemd
|
|
|
|
DESCRIPTION="A script to create a NATed or bridged WiFi access point"
|
|
HOMEPAGE="https://github.com/oblique/create_ap"
|
|
SRC_URI="https://github.com/oblique/create_ap/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="BSD-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE="haveged"
|
|
|
|
DEPEND=""
|
|
RDEPEND="
|
|
sys-apps/util-linux
|
|
sys-process/procps
|
|
net-wireless/hostapd
|
|
sys-apps/iproute2
|
|
net-wireless/iw
|
|
net-misc/bridge-utils
|
|
net-dns/dnsmasq
|
|
net-firewall/iptables
|
|
haveged? (
|
|
sys-apps/haveged
|
|
)
|
|
"
|
|
|
|
src_install() {
|
|
dobin create_ap
|
|
systemd_dounit create_ap.service
|
|
newbashcomp bash_completion create_ap
|
|
}
|