[arch-commits] Commit in gnuradio-osmosdr/repos (4 files)
Kyle Keen
kkeen at archlinux.org
Tue Feb 3 01:09:36 UTC 2015
Date: Tuesday, February 3, 2015 @ 02:09:33
Author: kkeen
Revision: 127005
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
gnuradio-osmosdr/repos/community-staging-i686/
gnuradio-osmosdr/repos/community-staging-i686/PKGBUILD
(from rev 127004, gnuradio-osmosdr/trunk/PKGBUILD)
gnuradio-osmosdr/repos/community-staging-x86_64/
gnuradio-osmosdr/repos/community-staging-x86_64/PKGBUILD
(from rev 127004, gnuradio-osmosdr/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 39 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 39 ++++++++++++++++++++++++++++++++++++
2 files changed, 78 insertions(+)
Copied: gnuradio-osmosdr/repos/community-staging-i686/PKGBUILD (from rev 127004, gnuradio-osmosdr/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-02-03 01:09:33 UTC (rev 127005)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com?>
+# Contributor: Dominik Heidler <dheidler at gmail.com>
+pkgname=gnuradio-osmosdr
+_pkgname=gr-osmosdr
+pkgver=0.1.4
+pkgrel=2
+pkgdesc="Source block for Funcube Dongle, RTL-SDR, USRP, OsmoSDR, BladeRF, HackRF and AirSpy devices"
+url="http://sdr.osmocom.org/trac/"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('gnuradio' 'gnuradio-iqbal' 'rtl-sdr' 'gnuradio-fcdproplus' 'hackrf' 'bladerf' 'airspy')
+makedepends=('git' 'cmake' 'boost' 'python2-cheetah' 'swig')
+conflicts=('gr-osmosdr-git')
+replaces=('gr-osmosdr')
+source=("git://git.osmocom.org/gr-osmosdr#tag=v$pkgver")
+md5sums=('SKIP')
+
+# add support for miri, osmo?
+
+build() {
+ cd "$srcdir/$_pkgname"
+ sed -i 's/python$/python2/' apps/osmocom_siggen_base.py
+ mkdir build
+ cd build
+ cmake \
+ -Wno-dev \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DPYTHON_EXECUTABLE=$(which python2) \
+ -DPYTHON_INCLUDE_DIR=$(echo /usr/include/python2*) \
+ -DPYTHON_LIBRARY=$(echo /usr/lib/libpython2.*.so) \
+ -DCMAKE_INSTALL_PREFIX=/usr ../
+ make
+}
+
+package() {
+ cd "$srcdir/$_pkgname/build/"
+ make DESTDIR="${pkgdir}" install
+}
Copied: gnuradio-osmosdr/repos/community-staging-x86_64/PKGBUILD (from rev 127004, gnuradio-osmosdr/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-02-03 01:09:33 UTC (rev 127005)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com?>
+# Contributor: Dominik Heidler <dheidler at gmail.com>
+pkgname=gnuradio-osmosdr
+_pkgname=gr-osmosdr
+pkgver=0.1.4
+pkgrel=2
+pkgdesc="Source block for Funcube Dongle, RTL-SDR, USRP, OsmoSDR, BladeRF, HackRF and AirSpy devices"
+url="http://sdr.osmocom.org/trac/"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('gnuradio' 'gnuradio-iqbal' 'rtl-sdr' 'gnuradio-fcdproplus' 'hackrf' 'bladerf' 'airspy')
+makedepends=('git' 'cmake' 'boost' 'python2-cheetah' 'swig')
+conflicts=('gr-osmosdr-git')
+replaces=('gr-osmosdr')
+source=("git://git.osmocom.org/gr-osmosdr#tag=v$pkgver")
+md5sums=('SKIP')
+
+# add support for miri, osmo?
+
+build() {
+ cd "$srcdir/$_pkgname"
+ sed -i 's/python$/python2/' apps/osmocom_siggen_base.py
+ mkdir build
+ cd build
+ cmake \
+ -Wno-dev \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DPYTHON_EXECUTABLE=$(which python2) \
+ -DPYTHON_INCLUDE_DIR=$(echo /usr/include/python2*) \
+ -DPYTHON_LIBRARY=$(echo /usr/lib/libpython2.*.so) \
+ -DCMAKE_INSTALL_PREFIX=/usr ../
+ make
+}
+
+package() {
+ cd "$srcdir/$_pkgname/build/"
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list