28 lines
842 B
Bash
28 lines
842 B
Bash
# Template file for 'rtl_433'
|
|
pkgname=rtl_433
|
|
version=24.10
|
|
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=e5ab1597a723bf9e0eaa56be988b23dae3670471c6472510ba07b3b588407dcb
|
|
|
|
post_install() {
|
|
vmkdir usr/share/examples
|
|
mv ${DESTDIR}/etc/rtl_433 ${DESTDIR}/usr/share/examples
|
|
}
|
|
|
|
rtl_433-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
}
|
|
}
|