summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2020-12-03 21:44:11 -0500
committerRick Farina <zerochaos@gentoo.org>2020-12-03 22:14:05 -0500
commit506acdee7330db713335299b5fb1fc375b763404 (patch)
tree6e6c06c4ab3a37eba4b99bc381da9421f81f38b4 /net-wireless/suscan/suscan-0.1.0-r1.ebuild
parentx11-wm/mutter: Depend on dev-util/sysprof-common (diff)
downloadgentoo-506acdee7330db713335299b5fb1fc375b763404.tar.gz
gentoo-506acdee7330db713335299b5fb1fc375b763404.tar.bz2
gentoo-506acdee7330db713335299b5fb1fc375b763404.zip
net-wireless/suscan: minor bump
python bump as well Package-Manager: Portage-3.0.11, Repoman-3.0.2 Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'net-wireless/suscan/suscan-0.1.0-r1.ebuild')
-rw-r--r--net-wireless/suscan/suscan-0.1.0-r1.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/net-wireless/suscan/suscan-0.1.0-r1.ebuild b/net-wireless/suscan/suscan-0.1.0-r1.ebuild
new file mode 100644
index 000000000000..1f10e15ed213
--- /dev/null
+++ b/net-wireless/suscan/suscan-0.1.0-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+CMAKE_MAKEFILE_GENERATOR='emake'
+inherit cmake
+
+DESCRIPTION="a realtime DSP processing library"
+HOMEPAGE="https://github.com/BatchDrake/suscan"
+SRC_URI="https://github.com/BatchDrake/suscan/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="media-libs/libsndfile
+ dev-libs/libxml2
+ net-wireless/sigutils
+ net-wireless/soapysdr:=
+ sci-libs/fftw:3.0=
+ sci-libs/volk:=
+"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+src_prepare() {
+ sed -i -e "s#DESTINATION lib#DESTINATION $(get_libdir)#" -e "s#/lib/#/$(get_libdir)/#" CMakeLists.txt
+ sed -i "s#/lib#/$(get_libdir)#" sigutils.pc.in
+ cmake_src_prepare
+}