summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/inspectrum/Manifest1
-rw-r--r--net-wireless/inspectrum/inspectrum-0.1.ebuild29
-rw-r--r--net-wireless/inspectrum/inspectrum-9999.ebuild16
3 files changed, 38 insertions, 8 deletions
diff --git a/net-wireless/inspectrum/Manifest b/net-wireless/inspectrum/Manifest
new file mode 100644
index 000000000000..7296f31ad8f5
--- /dev/null
+++ b/net-wireless/inspectrum/Manifest
@@ -0,0 +1 @@
+DIST inspectrum-0.1.tar.gz 151125 SHA256 30eeec26166e41fe2d8007b0042420602d9920bcd4ccf0f74ea1fd64dfc93bfe SHA512 f451a7d9d6fda95f6b0c1c03fc5679c859331df5df85d2f378648e95d8db94552bc2b237d552e705db302841dbab87bfa61f799886108ec1e4ba78df4beae441 WHIRLPOOL b2f35c6bef7af93fb6a3c71cc9c8718c5a8da63e649f574bfb53149cce7688a1ba2b37c5e0885f3be9d2de18d72ed376f12100308f08b2f5c0ca241bd700c997
diff --git a/net-wireless/inspectrum/inspectrum-0.1.ebuild b/net-wireless/inspectrum/inspectrum-0.1.ebuild
new file mode 100644
index 000000000000..9d93c6238b06
--- /dev/null
+++ b/net-wireless/inspectrum/inspectrum-0.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit cmake-utils
+
+DESCRIPTION="a tool for analysing captured signals, primarily from software-defined radio receivers"
+HOMEPAGE="https://github.com/miek/inspectrum"
+if [[ ${PV} == "9999" ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/miek/inspectrum.git"
+ KEYWORDS=""
+else
+ SRC_URI="https://github.com/miek/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+IUSE=""
+
+RDEPEND="sci-libs/fftw:3.0=
+ dev-qt/qtwidgets:5
+ dev-qt/qtgui:5
+ dev-qt/qtcore:5"
+DEPEND="virtual/pkgconfig
+ ${RDEPEND}"
diff --git a/net-wireless/inspectrum/inspectrum-9999.ebuild b/net-wireless/inspectrum/inspectrum-9999.ebuild
index eca6969c236e..9d93c6238b06 100644
--- a/net-wireless/inspectrum/inspectrum-9999.ebuild
+++ b/net-wireless/inspectrum/inspectrum-9999.ebuild
@@ -5,16 +5,20 @@
EAPI=5
inherit cmake-utils
-inherit git-r3
DESCRIPTION="a tool for analysing captured signals, primarily from software-defined radio receivers"
HOMEPAGE="https://github.com/miek/inspectrum"
-SRC_URI=""
-EGIT_REPO_URI="https://github.com/miek/inspectrum.git"
+if [[ ${PV} == "9999" ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/miek/inspectrum.git"
+ KEYWORDS=""
+else
+ SRC_URI="https://github.com/miek/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS=""
IUSE=""
RDEPEND="sci-libs/fftw:3.0=
@@ -23,7 +27,3 @@ RDEPEND="sci-libs/fftw:3.0=
dev-qt/qtcore:5"
DEPEND="virtual/pkgconfig
${RDEPEND}"
-
-src_install() {
- dobin "${BUILD_DIR}"/inspectrum
-}