[arch-commits] Commit in bladerf/repos (4 files)
Kyle Keen
kkeen at archlinux.org
Wed Dec 16 06:02:19 UTC 2015
Date: Wednesday, December 16, 2015 @ 07:02:18
Author: kkeen
Revision: 153420
archrelease: copy trunk to community-i686, community-x86_64
Added:
bladerf/repos/community-i686/PKGBUILD
(from rev 153419, bladerf/trunk/PKGBUILD)
bladerf/repos/community-x86_64/PKGBUILD
(from rev 153419, bladerf/trunk/PKGBUILD)
Deleted:
bladerf/repos/community-i686/PKGBUILD
bladerf/repos/community-x86_64/PKGBUILD
---------------------------+
/PKGBUILD | 132 ++++++++++++++++++++++++++++++++++++++++++++
community-i686/PKGBUILD | 60 --------------------
community-x86_64/PKGBUILD | 60 --------------------
3 files changed, 132 insertions(+), 120 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2015-12-16 06:01:24 UTC (rev 153419)
+++ community-i686/PKGBUILD 2015-12-16 06:02:18 UTC (rev 153420)
@@ -1,60 +0,0 @@
-# $Id$
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-# Contributor: Dominik Heidler <dheidler at gmail.com>
-
-# it looks like the release model has gotten better
-# keeping it more modular for now though
-
-pkgname=bladerf
-_libver=1.4.2
-_CLIver=1.2.1
-_FPGAver=0.4.1
-_firmver=1.8.1
-pkgver=$_libver
-pkgrel=1
-pkgdesc="Driver, userspace, fpga & firmware for the bladeRF SDR."
-url="https://github.com/Nuand/bladeRF"
-arch=('i686' 'x86_64')
-license=('GPL2')
-depends=('libusb')
-makedepends=('cmake' 'help2man' 'doxygen')
-#backup=("etc/bladerf.cfg")
-
-source=(
- "https://github.com/Nuand/bladeRF/archive/libbladeRF_v$_libver.tar.gz"
- "http://nuand.com/fpga/v$_FPGAver/hostedx40.rbf"
- "http://nuand.com/fpga/v$_FPGAver/hostedx115.rbf"
- "http://www.nuand.com/fx3/bladeRF_fw_v$_firmver.img")
-
-md5sums=('35bdf9469922268daed9deae85ba0d4f'
- '4bdfc5543d7167d7f59fcf7d38b28945'
- 'ae639096fa40478c965e765052dd530c'
- '81cb33ced14bcd2942c8236fb6b533f5')
-
-# bladeRF-cli is bundled with libbladeRF
-# bladeRF-cli can use libtecla (aur)?
-
-build() {
- cd "$srcdir/bladeRF-libbladeRF_v$_libver"
- mkdir -p build
- cd build
- cmake \
- -DCMAKE_BUILD_TYPE=Release \
- -DINSTALL_UDEV_RULES=ON \
- -DBUILD_DOCUMENTATION=ON \
- -DCMAKE_INSTALL_LIBDIR:PATH=lib \
- -Dusb_LIBRARY:FILEPATH=/usr/lib/libusb-1.0.so \
- -DCMAKE_INSTALL_PREFIX=/usr ../
- make
- # ENABLE_FX3_BUILD needs cypress toolchain
- # really really wants to put files in /usr/lib64
-}
-
-package() {
- cd "$srcdir/bladeRF-libbladeRF_v$_libver/build"
- make DESTDIR="${pkgdir}" install
- cd "$srcdir"
- install -Dm644 "bladeRF_fw_v$_firmver.img" "$pkgdir/usr/share/bladerf/firmware/bladeRF_fw_v$_firmver.img"
- install -Dm644 hostedx40.rbf "$pkgdir/usr/share/bladerf/fpga/hostedx40.rbf"
- install -Dm644 hostedx115.rbf "$pkgdir/usr/share/bladerf/fpga/hostedx115.rbf"
-}
Copied: bladerf/repos/community-i686/PKGBUILD (from rev 153419, bladerf/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2015-12-16 06:02:18 UTC (rev 153420)
@@ -0,0 +1,66 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Dominik Heidler <dheidler at gmail.com>
+
+# it looks like the release model has gotten better
+# keeping it more modular for now though
+
+pkgname=bladerf
+_libver=1.4.2
+_CLIver=1.2.1
+_FPGAver=0.4.1
+_firmver=1.8.1
+pkgver=$_libver
+pkgrel=2
+pkgdesc="Driver, userspace, fpga & firmware for the bladeRF SDR."
+url="https://github.com/Nuand/bladeRF"
+arch=('i686' 'x86_64')
+license=('GPL2')
+depends=('libusb')
+makedepends=('cmake' 'help2man' 'doxygen')
+#backup=("etc/bladerf.cfg")
+
+source=(
+ "https://github.com/Nuand/bladeRF/archive/libbladeRF_v$_libver.tar.gz"
+ "http://nuand.com/fpga/v$_FPGAver/hostedx40.rbf"
+ "http://nuand.com/fpga/v$_FPGAver/hostedx115.rbf"
+ "http://www.nuand.com/fx3/bladeRF_fw_v$_firmver.img")
+
+md5sums=('35bdf9469922268daed9deae85ba0d4f'
+ '4bdfc5543d7167d7f59fcf7d38b28945'
+ 'ae639096fa40478c965e765052dd530c'
+ '81cb33ced14bcd2942c8236fb6b533f5')
+
+# bladeRF-cli is bundled with libbladeRF
+# bladeRF-cli can use libtecla (aur)?
+
+prepare() {
+ cd "$srcdir/bladeRF-libbladeRF_v$_libver"
+ # FS#47168
+ sed -i 's|MODE.*$|TAG+="uaccess"|' host/misc/udev/88-nuand.rules.in
+}
+
+build() {
+ cd "$srcdir/bladeRF-libbladeRF_v$_libver"
+ mkdir -p build
+ cd build
+ cmake \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DINSTALL_UDEV_RULES=ON \
+ -DBUILD_DOCUMENTATION=ON \
+ -DCMAKE_INSTALL_LIBDIR:PATH=lib \
+ -Dusb_LIBRARY:FILEPATH=/usr/lib/libusb-1.0.so \
+ -DCMAKE_INSTALL_PREFIX=/usr ../
+ make
+ # ENABLE_FX3_BUILD needs cypress toolchain
+ # really really wants to put files in /usr/lib64
+}
+
+package() {
+ cd "$srcdir/bladeRF-libbladeRF_v$_libver/build"
+ make DESTDIR="${pkgdir}" install
+ cd "$srcdir"
+ install -Dm644 "bladeRF_fw_v$_firmver.img" "$pkgdir/usr/share/bladerf/firmware/bladeRF_fw_v$_firmver.img"
+ install -Dm644 hostedx40.rbf "$pkgdir/usr/share/bladerf/fpga/hostedx40.rbf"
+ install -Dm644 hostedx115.rbf "$pkgdir/usr/share/bladerf/fpga/hostedx115.rbf"
+}
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2015-12-16 06:01:24 UTC (rev 153419)
+++ community-x86_64/PKGBUILD 2015-12-16 06:02:18 UTC (rev 153420)
@@ -1,60 +0,0 @@
-# $Id$
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-# Contributor: Dominik Heidler <dheidler at gmail.com>
-
-# it looks like the release model has gotten better
-# keeping it more modular for now though
-
-pkgname=bladerf
-_libver=1.4.2
-_CLIver=1.2.1
-_FPGAver=0.4.1
-_firmver=1.8.1
-pkgver=$_libver
-pkgrel=1
-pkgdesc="Driver, userspace, fpga & firmware for the bladeRF SDR."
-url="https://github.com/Nuand/bladeRF"
-arch=('i686' 'x86_64')
-license=('GPL2')
-depends=('libusb')
-makedepends=('cmake' 'help2man' 'doxygen')
-#backup=("etc/bladerf.cfg")
-
-source=(
- "https://github.com/Nuand/bladeRF/archive/libbladeRF_v$_libver.tar.gz"
- "http://nuand.com/fpga/v$_FPGAver/hostedx40.rbf"
- "http://nuand.com/fpga/v$_FPGAver/hostedx115.rbf"
- "http://www.nuand.com/fx3/bladeRF_fw_v$_firmver.img")
-
-md5sums=('35bdf9469922268daed9deae85ba0d4f'
- '4bdfc5543d7167d7f59fcf7d38b28945'
- 'ae639096fa40478c965e765052dd530c'
- '81cb33ced14bcd2942c8236fb6b533f5')
-
-# bladeRF-cli is bundled with libbladeRF
-# bladeRF-cli can use libtecla (aur)?
-
-build() {
- cd "$srcdir/bladeRF-libbladeRF_v$_libver"
- mkdir -p build
- cd build
- cmake \
- -DCMAKE_BUILD_TYPE=Release \
- -DINSTALL_UDEV_RULES=ON \
- -DBUILD_DOCUMENTATION=ON \
- -DCMAKE_INSTALL_LIBDIR:PATH=lib \
- -Dusb_LIBRARY:FILEPATH=/usr/lib/libusb-1.0.so \
- -DCMAKE_INSTALL_PREFIX=/usr ../
- make
- # ENABLE_FX3_BUILD needs cypress toolchain
- # really really wants to put files in /usr/lib64
-}
-
-package() {
- cd "$srcdir/bladeRF-libbladeRF_v$_libver/build"
- make DESTDIR="${pkgdir}" install
- cd "$srcdir"
- install -Dm644 "bladeRF_fw_v$_firmver.img" "$pkgdir/usr/share/bladerf/firmware/bladeRF_fw_v$_firmver.img"
- install -Dm644 hostedx40.rbf "$pkgdir/usr/share/bladerf/fpga/hostedx40.rbf"
- install -Dm644 hostedx115.rbf "$pkgdir/usr/share/bladerf/fpga/hostedx115.rbf"
-}
Copied: bladerf/repos/community-x86_64/PKGBUILD (from rev 153419, bladerf/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2015-12-16 06:02:18 UTC (rev 153420)
@@ -0,0 +1,66 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Dominik Heidler <dheidler at gmail.com>
+
+# it looks like the release model has gotten better
+# keeping it more modular for now though
+
+pkgname=bladerf
+_libver=1.4.2
+_CLIver=1.2.1
+_FPGAver=0.4.1
+_firmver=1.8.1
+pkgver=$_libver
+pkgrel=2
+pkgdesc="Driver, userspace, fpga & firmware for the bladeRF SDR."
+url="https://github.com/Nuand/bladeRF"
+arch=('i686' 'x86_64')
+license=('GPL2')
+depends=('libusb')
+makedepends=('cmake' 'help2man' 'doxygen')
+#backup=("etc/bladerf.cfg")
+
+source=(
+ "https://github.com/Nuand/bladeRF/archive/libbladeRF_v$_libver.tar.gz"
+ "http://nuand.com/fpga/v$_FPGAver/hostedx40.rbf"
+ "http://nuand.com/fpga/v$_FPGAver/hostedx115.rbf"
+ "http://www.nuand.com/fx3/bladeRF_fw_v$_firmver.img")
+
+md5sums=('35bdf9469922268daed9deae85ba0d4f'
+ '4bdfc5543d7167d7f59fcf7d38b28945'
+ 'ae639096fa40478c965e765052dd530c'
+ '81cb33ced14bcd2942c8236fb6b533f5')
+
+# bladeRF-cli is bundled with libbladeRF
+# bladeRF-cli can use libtecla (aur)?
+
+prepare() {
+ cd "$srcdir/bladeRF-libbladeRF_v$_libver"
+ # FS#47168
+ sed -i 's|MODE.*$|TAG+="uaccess"|' host/misc/udev/88-nuand.rules.in
+}
+
+build() {
+ cd "$srcdir/bladeRF-libbladeRF_v$_libver"
+ mkdir -p build
+ cd build
+ cmake \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DINSTALL_UDEV_RULES=ON \
+ -DBUILD_DOCUMENTATION=ON \
+ -DCMAKE_INSTALL_LIBDIR:PATH=lib \
+ -Dusb_LIBRARY:FILEPATH=/usr/lib/libusb-1.0.so \
+ -DCMAKE_INSTALL_PREFIX=/usr ../
+ make
+ # ENABLE_FX3_BUILD needs cypress toolchain
+ # really really wants to put files in /usr/lib64
+}
+
+package() {
+ cd "$srcdir/bladeRF-libbladeRF_v$_libver/build"
+ make DESTDIR="${pkgdir}" install
+ cd "$srcdir"
+ install -Dm644 "bladeRF_fw_v$_firmver.img" "$pkgdir/usr/share/bladerf/firmware/bladeRF_fw_v$_firmver.img"
+ install -Dm644 hostedx40.rbf "$pkgdir/usr/share/bladerf/fpga/hostedx40.rbf"
+ install -Dm644 hostedx115.rbf "$pkgdir/usr/share/bladerf/fpga/hostedx115.rbf"
+}
More information about the arch-commits
mailing list