-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
27 lines (25 loc) · 846 Bytes
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# 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
}
}