[arch-commits] Commit in (5 files)

Kyle Keen kkeen at nymeria.archlinux.org
Sat Jul 12 19:43:27 UTC 2014


    Date: Saturday, July 12, 2014 @ 21:43:26
  Author: kkeen
Revision: 115627

pkginit gnuradio-fcdproplus-3.7.4-3

Added:
  gnuradio-fcdproplus/
  gnuradio-fcdproplus/repos/
  gnuradio-fcdproplus/trunk/
  gnuradio-fcdproplus/trunk/88-fcdproplus.rules
  gnuradio-fcdproplus/trunk/PKGBUILD

---------------------+
 88-fcdproplus.rules |    9 +++++++++
 PKGBUILD            |   37 +++++++++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)

Added: gnuradio-fcdproplus/trunk/88-fcdproplus.rules
===================================================================
--- gnuradio-fcdproplus/trunk/88-fcdproplus.rules	                        (rev 0)
+++ gnuradio-fcdproplus/trunk/88-fcdproplus.rules	2014-07-12 19:43:26 UTC (rev 115627)
@@ -0,0 +1,9 @@
+# Udev rules for the Funcube Dongle Pro (0xfb56) and Pro+ (0xfb31)
+
+# HIDAPI/libusb:
+SUBSYSTEMS=="usb" ATTRS{idVendor}=="04d8" ATTRS{idProduct}=="fb56" MODE:="0666"
+SUBSYSTEMS=="usb" ATTRS{idVendor}=="04d8" ATTRS{idProduct}=="fb31" MODE:="0666"
+
+# HIDAPI/hidraw:
+KERNEL=="hidraw*", ATTRS{busnum}=="1", ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="fb56", MODE="0666"
+KERNEL=="hidraw*", ATTRS{busnum}=="1", ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="fb31", MODE="0666"

Added: gnuradio-fcdproplus/trunk/PKGBUILD
===================================================================
--- gnuradio-fcdproplus/trunk/PKGBUILD	                        (rev 0)
+++ gnuradio-fcdproplus/trunk/PKGBUILD	2014-07-12 19:43:26 UTC (rev 115627)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Dominik Heidler <dheidler at gmail.com>
+pkgname=gnuradio-fcdproplus
+_pkgname=gr-fcdproplus
+pkgver=3.7.4
+pkgrel=3
+_tag=v3.7_hidraw
+pkgdesc="GNU Radio source block for Funcube Dongle Pro +"
+arch=('i686' 'x86_64')
+url="https://github.com/dl1ksv/gr-fcdproplus"
+license=('GPL3')
+depends=('gnuradio' 'libusb' 'alsa-lib' 'boost-libs')
+makedepends=('git' 'cmake' 'boost' 'swig')
+replaces=('gr-fcdproplus')
+source=("git://github.com/dl1ksv/gr-fcdproplus.git#tag=$_tag"
+        "88-fcdproplus.rules")
+md5sums=('SKIP'
+         '465e12c454c6a22ebec9849181af7bdc')
+
+build() {
+  cd "$srcdir/$_pkgname"
+  mkdir build
+  cd build
+  cmake \
+    -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
+  install -Dm644 "$srcdir/88-fcdproplus.rules" "$pkgdir/etc/udev/rules.d/88-fcdproplus.rules"
+}


Property changes on: gnuradio-fcdproplus/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list