[arch-commits] Commit in gnuradio-osmosdr/trunk (PKGBUILD gnuradio-osmosdr.pc)
Kyle Keen
kkeen at archlinux.org
Fri Mar 13 02:39:12 UTC 2020
Date: Friday, March 13, 2020 @ 02:39:12
Author: kkeen
Revision: 595631
upgpkg: gnuradio-osmosdr 0.2.0-2 manual pkgconfig
Added:
gnuradio-osmosdr/trunk/gnuradio-osmosdr.pc
Modified:
gnuradio-osmosdr/trunk/PKGBUILD
---------------------+
PKGBUILD | 11 ++++++++---
gnuradio-osmosdr.pc | 15 +++++++++++++++
2 files changed, 23 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-13 01:29:11 UTC (rev 595630)
+++ PKGBUILD 2020-03-13 02:39:12 UTC (rev 595631)
@@ -4,7 +4,7 @@
pkgname=gnuradio-osmosdr
_reponame=gr-osmosdr
pkgver=0.2.0
-pkgrel=1
+pkgrel=2
pkgdesc='Source block for Funcube Dongle, RTL-SDR, USRP, OsmoSDR, BladeRF, HackRF and AirSpy devices'
url='http://osmocom.org/projects/gr-osmosdr'
arch=('x86_64')
@@ -13,10 +13,13 @@
optdepends=('python-opengl: osmocom_fft')
makedepends=('git' 'cmake' 'boost' 'swig')
replaces=('gr-osmosdr')
-source=("git://git.osmocom.org/gr-osmosdr/#tag=v$pkgver")
-md5sums=('SKIP')
+source=("git://git.osmocom.org/gr-osmosdr/#tag=v$pkgver"
+ "gnuradio-osmosdr.pc")
+md5sums=('SKIP'
+ 'a62fdf732f8a9a59f667bbda5542a824')
# add support for miri, osmo?
+# figure out what happened to libtool
build() {
cd $_reponame
@@ -40,4 +43,6 @@
cd $_reponame/build
make DESTDIR="$pkgdir" install
+
+ install -Dm644 "$srcdir/gnuradio-osmosdr.pc" "$pkgdir/usr/lib/pkgconfig/gnuradio-osmosdr.pc"
}
Added: gnuradio-osmosdr.pc
===================================================================
--- gnuradio-osmosdr.pc (rev 0)
+++ gnuradio-osmosdr.pc 2020-03-13 02:39:12 UTC (rev 595631)
@@ -0,0 +1,15 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: gnuradio-osmosdr
+Description: GNU Radio block for various radio hardware
+URL: http://sdr.osmocom.org/trac/wiki/GrOsmoSDR
+Version: v0.2.0
+Requires: gnuradio-runtime gnuradio-blocks
+Requires.private:
+Conflicts:
+Cflags: -I${includedir} -I/usr/include
+Libs: -L${libdir} -lgnuradio-osmosdr
+Libs.private: -L/usr/lib
More information about the arch-commits
mailing list