Merge pull request #423 from onekk/master

New Package: rtl-sdr and library - trasform RTL2832 in a SDR receiver
This commit is contained in:
Juan RP 2014-05-26 08:44:05 +02:00
commit 4179632dc2
4 changed files with 43 additions and 0 deletions

View File

@ -1626,3 +1626,4 @@ libgmock_main.so.0 gmock-1.7.0_1
libopensc.so.3 libopensc-0.13.0_2
libsmm-local.so.3 libopensc-0.13.0_2
libSDL2_ttf-2.0.so.0 SDL2_ttf-2.0.12_1
librtlsdr.so.0 librtlsdr-0.5.3_1

1
srcpkgs/librtlsdr-devel Symbolic link
View File

@ -0,0 +1 @@
librtlsdr

View File

@ -0,0 +1,40 @@
# Template file for 'librtlsdr'
pkgname=librtlsdr
version=0.5.3
revision=1
build_style=cmake
maintainer="Carlo Dormeletti <carlo.dormeletti@email.it>"
homepage="http://sdr.osmocom.org/trac/wiki/rtl-sdr"
license="GPL-2"
short_desc="turns your Realtek RTL2832 based DVB dongle into a SDR receiver"
hostmakedepends="cmake pkg-config"
makedepends="libusb-devel"
distfiles="https://github.com/steve-m/${pkgname}/archive/v${version}.tar.gz"
checksum="98fb5c34ac94d6f2235a0bb41a08f8bed7949e1d1b91ea57a7c1110191ea58de"
librtlsdr-devel_package() {
short_desc+=" - development files"
depends="${pkgname}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}
rtl-sdr_package() {
short_desc+=" - helper and test programs"
#depends="${pkgname}>=${version}_${revision}"
pkg_install() {
vmove usr/bin
}
}
post_install(){
mkdir -p ${DESTDIR}/usr/lib/udev/rules.d
cp ${wrksrc}/rtl-sdr.rules ${DESTDIR}/usr/lib/udev/rules.d/53-rtl-sdr.rules
}

1
srcpkgs/rtl-sdr Symbolic link
View File

@ -0,0 +1 @@
librtlsdr