void-packages/srcpkgs/rtl_433/template

28 lines
824 B
Bash

# Template file for 'rtl_433'
pkgname=rtl_433
version=19.08
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 <brainwave@openmailbox.org>"
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=6d7975e8e08e724a30fe0c8658e156fe0e67299a9fddfa14daed5f62c625731f
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
}
}