mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-08 12:30:44 +02:00
sdrsharp: add ebuild for sdr# thanks to much help from prog and cacodaemon
This commit is contained in:
parent
3cb30ca364
commit
a0669fafd2
3 changed files with 43 additions and 0 deletions
2
net-wireless/sdrsharp/Manifest
Normal file
2
net-wireless/sdrsharp/Manifest
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
AUX sdrsharp 52 RMD160 f84f5d5f6f2091d60d6300c5fa748b8291ab8ae9 SHA1 da4f9152fdf2de4acba4fca6cd48d15115f07360 SHA256 db62034968b056410d8b90b3e77325cf869529d09535c549b403586905a4fee4
|
||||
EBUILD sdrsharp-9999.ebuild 875 RMD160 fd7d11891ade691e0e6010817f3fa5ee84bf8c7b SHA1 f91ce5bec103ceca4c29761ffbb390b66fb422f7 SHA256 c1f5e5d3830ce9e0f18f939c0b5abe9d318e6f45fe1c767054dd0fa6844cd075
|
||||
2
net-wireless/sdrsharp/files/sdrsharp
Normal file
2
net-wireless/sdrsharp/files/sdrsharp
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
mono /usr/GETLIBDIR/sdrsharp/SDRSharp.exe
|
||||
39
net-wireless/sdrsharp/sdrsharp-9999.ebuild
Normal file
39
net-wireless/sdrsharp/sdrsharp-9999.ebuild
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit subversion
|
||||
|
||||
DESCRIPTION="simple, intuitive, small and fast DSP application for SDR"
|
||||
HOMEPAGE="http://sdrsharp.com/"
|
||||
ESVN_REPO_URI="https://subversion.assembla.com/svn/sdrsharp/trunk"
|
||||
|
||||
LICENSE=""
|
||||
SLOT="0"
|
||||
KEYWORDS="-*"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-lang/mono
|
||||
net-wireless/rtl-sdr"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
xbuild /t:Rebuild /p:Configuration=Release SDRSharp.sln
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${S}"/Release
|
||||
|
||||
#remove windows only stuff
|
||||
sed -i -e "/FUNcube/d" SDRSharp.exe.config
|
||||
sed -i -e "/SoftRock/d" SDRSharp.exe.config
|
||||
rm -f SDRSharp.FUNcube.dll SDRSharp.SoftRock.dll
|
||||
|
||||
#install
|
||||
insinto /usr/$(get_libdir)/${PN}
|
||||
doins SDRSharp.exe* *.dll
|
||||
dobin "${FILESDIR}"/sdrsharp
|
||||
sed -i "s#GETLIBDIR#$(get_libdir)#" "${ED}"/usr/bin/sdrsharp
|
||||
}
|
||||
Loading…
Reference in a new issue