smlinux/net/rtl-sdr/smbuild

33 lines
705 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=rtl-sdr
version=20180603
build=1sml
homepage="https://osmocom.org/projects/rtl-sdr/wiki/Rtl-sdr"
desc="Programs and libraries for communicating with software-defined radios"
requires="eudev libusb"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix=/usr \
--disable-static
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
9a72bb1c3f65965701b05023aff83e7d71e78be5f7a19aa40cdf2c69d06d2e7d592734e06592a588fd8a76db7c2565f8f594cc18d0e048f47aa6aed6f3c918fe rtl-sdr-20180603.tar.lz
"