void-packages/srcpkgs/rtl_433/template
2018-12-18 11:44:08 +01:00

26 lines
728 B
Bash

# Template file for 'rtl_433'
pkgname=rtl_433
version=18.12
revision=1
build_style=cmake
hostmakedepends="pkg-config"
makedepends="librtlsdr-devel SoapySDR-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"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=8d9a0d57155430b03d299effd48b43b7e072f49868485f0fc79294a28402d654
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
}
}