[arch-commits] Commit in (hackrf hackrf/repos hackrf/trunk hackrf/trunk/PKGBUILD)

Kyle Keen kkeen at nymeria.archlinux.org
Sat Jul 12 16:43:14 UTC 2014


    Date: Saturday, July 12, 2014 @ 18:43:14
  Author: kkeen
Revision: 115605

pkginit: hackrf-2014.04.1-1

Added:
  hackrf/
  hackrf/repos/
  hackrf/trunk/
  hackrf/trunk/PKGBUILD

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Added: hackrf/trunk/PKGBUILD
===================================================================
--- hackrf/trunk/PKGBUILD	                        (rev 0)
+++ hackrf/trunk/PKGBUILD	2014-07-12 16:43:14 UTC (rev 115605)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Dominik Heidler <dheidler at gmail.com>
+pkgname=hackrf
+pkgver=2014.04.1
+pkgrel=1
+pkgdesc="Driver for HackRF, allowing general purpose software defined radio (SDR)."
+arch=('i686' 'x86_64')
+url="https://github.com/mossmann/hackrf"
+license=('GPLv2')
+depends=('libusb')
+makedepends=('cmake')
+
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.xz")
+md5sums=('bcdd6a9a99dfc5b1a277825d1be9e2ec')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver/host"
+  mkdir -p build
+  cd build
+  cmake -DCMAKE_INSTALL_PREFIX=/usr ../
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  pushd host/build
+  make DESTDIR="$pkgdir" install
+  popd
+  pushd host/hackrf-tools
+  install -vD -m644 52-hackrf.rules "$pkgdir/usr/lib/udev/rules.d/52-hackrf.rules"
+  popd
+  pushd firmware-bin/hackrf-one
+  install -vD -m644 hackrf_usb_rom_to_ram.bin "$pkgdir/usr/share/hackrf/hackrf_usb_rom_to_ram.bin"
+}


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



More information about the arch-commits mailing list