27 lines
823 B
Bash
27 lines
823 B
Bash
# Template file for 'rtl_433'
|
|
pkgname=rtl_433
|
|
version=20.02
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="pkg-config"
|
|
makedepends="librtlsdr-devel SoapySDR-devel libusb-devel"
|
|
short_desc="RTLSDR based 433MHz generic data receiver"
|
|
maintainer="bra1nwave <bra1nwave@protonmail.com>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://github.com/merbanan/rtl_433"
|
|
changelog="https://raw.githubusercontent.com/merbanan/rtl_433/master/CHANGELOG.md"
|
|
distfiles="${homepage}/archive/${version}.tar.gz"
|
|
checksum=4f114017ede02d3038c449cf7d25cc82eecda5960e5229cc229774681a9ad80b
|
|
|
|
post_install() {
|
|
vmkdir usr/share/examples
|
|
mv ${DESTDIR}/usr/etc/rtl_433 ${DESTDIR}/usr/share/examples
|
|
}
|
|
|
|
rtl_433-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
}
|
|
}
|