net-wireless/linux-wifi-hotspot - 9999 (gentoo-zh)

Search

Package Information

Description:
Linux Wifi Hotspot
Homepage:
https://github.com/lakinduakash/linux-wifi-hotspot
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
9999 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=8
DESCRIPTION="Linux Wifi Hotspot"
HOMEPAGE="https://github.com/lakinduakash/linux-wifi-hotspot"
# inherit toolchain-funcs eutils
LICENSE=BSD
SLOT="0"

DEPEND="
	media-gfx/qrencode
	net-wireless/iw
	net-wireless/hostapd
"
RDEPEND="${DEPEND}"
if [ "$PV" == "9999" ]; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/lakinduakash/linux-wifi-hotspot.git"
else
	SRC_URI="https://github.com/lakinduakash/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
	KEYWORDS="~amd64 ~x86"
fi

src_install() {
	emake DESTDIR="${D}" install
}

Dependencies

DEPEND

	media-gfx/qrencode
	net-wireless/iw
	net-wireless/hostapd

RDEPEND

	media-gfx/qrencode
	net-wireless/iw
	net-wireless/hostapd