diff options
3 files changed, 43 insertions, 5 deletions
diff --git a/net-wireless/kismetmobiledashboard/Manifest b/net-wireless/kismetmobiledashboard/Manifest new file mode 100644 index 000000000000..234ef3e201e1 --- /dev/null +++ b/net-wireless/kismetmobiledashboard/Manifest @@ -0,0 +1 @@ +DIST kismetmobiledashboard-1.5_beta1.tar.gz 2305979 BLAKE2B 05e1f41b02688d2d432ff805b454fc948d387111ab2cf45a7ef72e9421a410a2fe479eca5a9f7eb56f58c807aeb47c1cc0a75c135ee3fb6faee2b979cc89894b SHA512 6abb5bd89b80ed4012d119d7111128bca2625d63f1cb36ab50b79e68b14f355b4c788b1290a720bb51268903b428a42dfffcb4373a2170a3d32aef5c140a9e91 diff --git a/net-wireless/kismetmobiledashboard/kismetmobiledashboard-1.5_beta1.ebuild b/net-wireless/kismetmobiledashboard/kismetmobiledashboard-1.5_beta1.ebuild new file mode 100644 index 000000000000..5e92f7f7e0e6 --- /dev/null +++ b/net-wireless/kismetmobiledashboard/kismetmobiledashboard-1.5_beta1.ebuild @@ -0,0 +1,33 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{6,7} ) + +DESCRIPTION="Mobile UI for kismet" +HOMEPAGE="https://github.com/elkentaro/KismetMobileDashboard" +if [ "${PV}" = "9999" ]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/elkentaro/KismetMobileDashboard.git" +else + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" + SRC_URI="https://github.com/elkentaro/KismetMobileDashboard/archive/V1.5-beta.1.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/KismetMobileDashboard-1.5-beta.1" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +DEPEND="net-wireless/kismet" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_compile() { + KIS_SRC_DIR="/usr/share/kismet" emake +} + +src_install() { + DESTDIR="${ED}" KIS_SRC_DIR="/usr/share/kismet" emake install +} diff --git a/net-wireless/kismetmobiledashboard/kismetmobiledashboard-9999.ebuild b/net-wireless/kismetmobiledashboard/kismetmobiledashboard-9999.ebuild index 12e0b4cc7b3e..5e92f7f7e0e6 100644 --- a/net-wireless/kismetmobiledashboard/kismetmobiledashboard-9999.ebuild +++ b/net-wireless/kismetmobiledashboard/kismetmobiledashboard-9999.ebuild @@ -4,19 +4,23 @@ EAPI=7 PYTHON_COMPAT=( python2_7 python3_{6,7} ) -inherit git-r3 DESCRIPTION="Mobile UI for kismet" HOMEPAGE="https://github.com/elkentaro/KismetMobileDashboard" -SRC_URI="" -EGIT_REPO_URI="https://github.com/elkentaro/KismetMobileDashboard.git" +if [ "${PV}" = "9999" ]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/elkentaro/KismetMobileDashboard.git" +else + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" + SRC_URI="https://github.com/elkentaro/KismetMobileDashboard/archive/V1.5-beta.1.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/KismetMobileDashboard-1.5-beta.1" +fi LICENSE="GPL-2" SLOT="0" -KEYWORDS="" IUSE="" -DEPEND="" +DEPEND="net-wireless/kismet" RDEPEND="${DEPEND}" BDEPEND="" |