--- /dev/null
+DIST inspectrum-0.1.tar.gz 151125 SHA256 30eeec26166e41fe2d8007b0042420602d9920bcd4ccf0f74ea1fd64dfc93bfe SHA512 f451a7d9d6fda95f6b0c1c03fc5679c859331df5df85d2f378648e95d8db94552bc2b237d552e705db302841dbab87bfa61f799886108ec1e4ba78df4beae441 WHIRLPOOL b2f35c6bef7af93fb6a3c71cc9c8718c5a8da63e649f574bfb53149cce7688a1ba2b37c5e0885f3be9d2de18d72ed376f12100308f08b2f5c0ca241bd700c997
--- /dev/null
+# 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}"
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=
dev-qt/qtcore:5"
DEPEND="virtual/pkgconfig
${RDEPEND}"
-
-src_install() {
- dobin "${BUILD_DIR}"/inspectrum
-}