New package: airspy-1.0.9

This commit is contained in:
bra1nwave 2017-11-29 14:43:55 +01:00 committed by Toyam Cox
parent 59bc9d540a
commit 4cd7631df3
4 changed files with 41 additions and 0 deletions

View File

@ -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

38
srcpkgs/airspy/template Normal file
View File

@ -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
}
}

1
srcpkgs/libairspy Symbolic link
View File

@ -0,0 +1 @@
airspy

1
srcpkgs/libairspy-devel Symbolic link
View File

@ -0,0 +1 @@
airspy