New package: airspy-1.0.9
This commit is contained in:
parent
59bc9d540a
commit
4cd7631df3
|
@ -2908,3 +2908,4 @@ libmega.so.30207 libmega-3.2.7_1
|
|||
libopenglrecorder.so.0 libopenglrecorder-0.1.0_1
|
||||
libgpod.so.4 libgpod-0.8.3_1
|
||||
libi2c.so.0 i2c-tools-4.0_1
|
||||
libairspy.so.0 libairspy-1.0.9_1
|
||||
|
|
|
@ -0,0 +1,38 @@
|
|||
# Template file for 'airspy'
|
||||
pkgname=airspy
|
||||
version=1.0.9
|
||||
revision=1
|
||||
wrksrc=airspyone_host-${version}
|
||||
build_style=cmake
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="libusb-devel"
|
||||
_desc="Tiny and efficient software defined radio (SDR)"
|
||||
short_desc="${_desc} - tools"
|
||||
maintainer="bra1nwave <brainwave@openmailbox.org>"
|
||||
license="GPL-2"
|
||||
homepage="https://airspy.com/"
|
||||
distfiles="https://github.com/airspy/airspyone_host/archive/v${version}.tar.gz"
|
||||
checksum=967ef256596d4527b81f007f77b91caec3e9f5ab148a8fec436a703db85234cc
|
||||
|
||||
pre_configure() {
|
||||
sed -i 's|MODE="660", GROUP="plugdev"|TAG+="uaccess"|' airspy-tools/52-airspy.rules
|
||||
}
|
||||
|
||||
libairspy_package() {
|
||||
short_desc="${_desc} - library"
|
||||
pkg_install() {
|
||||
vmove usr/lib/*.so.*
|
||||
vinstall airspy-tools/52-airspy.rules 644 usr/lib/udev/rules.d/
|
||||
}
|
||||
}
|
||||
|
||||
libairspy-devel_package() {
|
||||
short_desc="${_desc} - development files"
|
||||
depends="libairspy>=${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/*.a
|
||||
vmove usr/lib/*.so
|
||||
vmove usr/lib/pkgconfig
|
||||
}
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
airspy
|
|
@ -0,0 +1 @@
|
|||
airspy
|
Loading…
Reference in New Issue