void-packages/srcpkgs/rtl_433/template

28 lines
846 B
Bash

# Template file for 'rtl_433'
pkgname=rtl_433
version=23.11
revision=1
build_style=cmake
hostmakedepends="pkg-config libtool"
makedepends="librtlsdr-devel SoapySDR-devel libusb-devel openssl-devel"
short_desc="RTLSDR based 433MHz generic data receiver"
maintainer="classabbyamp <void@placeviolette.net>"
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=1260c58400bf35832ac1b76cb3cccf3dc1335ffa2416909c63c7d7060c74663b
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
}
}