[arch-commits] Commit in hackrf/repos (4 files)
Kyle Keen
kkeen at nymeria.archlinux.org
Sat Jul 12 16:46:33 UTC 2014
Date: Saturday, July 12, 2014 @ 18:46:33
Author: kkeen
Revision: 115607
archrelease: copy trunk to community-i686, community-x86_64
Added:
hackrf/repos/community-i686/
hackrf/repos/community-i686/PKGBUILD
(from rev 115606, hackrf/trunk/PKGBUILD)
hackrf/repos/community-x86_64/
hackrf/repos/community-x86_64/PKGBUILD
(from rev 115606, hackrf/trunk/PKGBUILD)
---------------------------+
community-i686/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
community-x86_64/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
2 files changed, 70 insertions(+)
Copied: hackrf/repos/community-i686/PKGBUILD (from rev 115606, hackrf/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-07-12 16:46:33 UTC (rev 115607)
@@ -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=('GPL2')
+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"
+}
Copied: hackrf/repos/community-x86_64/PKGBUILD (from rev 115606, hackrf/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2014-07-12 16:46:33 UTC (rev 115607)
@@ -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=('GPL2')
+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"
+}
More information about the arch-commits
mailing list