sdrsharp: moved to gentoo

This commit is contained in:
Zero_Chaos 2012-09-10 02:40:50 +00:00
parent 21b5a282fb
commit 443fc28eab
3 changed files with 0 additions and 44 deletions

View file

@ -1,2 +0,0 @@
AUX sdrsharp 52 RMD160 f84f5d5f6f2091d60d6300c5fa748b8291ab8ae9 SHA1 da4f9152fdf2de4acba4fca6cd48d15115f07360 SHA256 db62034968b056410d8b90b3e77325cf869529d09535c549b403586905a4fee4
EBUILD sdrsharp-9999.ebuild 897 RMD160 0e659d1e8c033650aeb5417e58295af7020900ea SHA1 e2a2253d3d05391e6d087e586ef0ce6993c01a3e SHA256 d4ea78d774006b281b7b9a2e15341972de8a1441d529b874201195683c458ce0

View file

@ -1,2 +0,0 @@
#!/bin/sh
mono /usr/GETLIBDIR/sdrsharp/SDRSharp.exe

View file

@ -1,40 +0,0 @@
# 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
media-libs/portaudio
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
}