28 lines
846 B
Bash
28 lines
846 B
Bash
# Template file for 'rtl_433'
|
|
pkgname=rtl_433
|
|
version=21.12
|
|
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=b362ef3410adec64aee7ad8e6d4d74875f1b3d59ef6fb4856e96adc03876dc65
|
|
|
|
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
|
|
}
|
|
}
|