Date: Monday, February 10, 2014 @ 17:14:55 Author: kkeen Revision: 105584
upgpkg: libuhd 3.6.2-1 Modified: libuhd/trunk/PKGBUILD ----------+ PKGBUILD | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-02-10 14:29:16 UTC (rev 105583) +++ PKGBUILD 2014-02-10 16:14:55 UTC (rev 105584) @@ -3,23 +3,25 @@ # Contributor: Dominik Heidler <[email protected]> pkgname=libuhd -pkgver=3.5.4 -_verstring=003_005_004 -pkgrel=4 +pkgver=3.6.2 +_verstring=003_006_002 +pkgrel=1 pkgdesc="Universal Software Radio Peripheral (USRP) userspace driver" arch=('x86_64' 'i686') url="http://code.ettus.com/redmine/ettus/projects/uhd/wiki" license=('GPL') depends=('boost-libs' 'orc' 'libusbx') +optdepends=('python2: usrp utils') makedepends=('cmake' 'boost' 'python2-cheetah') -source=("libuhd-$pkgver.tar.gz::https://codeload.github.com/EttusResearch/uhd/tar.gz/release_$_verstring") -md5sums=('e90c95483a52b75cacc85f4fb0ef63ed') +source=("libuhd-$pkgver.tar.gz::https://github.com/EttusResearch/uhd/archive/release_${_verstring}.tar.gz") +md5sums=('50a25b95dc08dd3946988c5da98814a9') build() { cd "$srcdir/uhd-release_$_verstring/host" # fix for py2 - find -name "*.py" | xargs sed -i "s|#!/usr/bin/env python$|#!/usr/bin/env python2|" + find -name "*.py" -or -name '*.py.in' | xargs sed -i "s|#!/usr/bin/env python$|#!/usr/bin/env python2|" + mkdir -p build cd build cmake .. -DCMAKE_INSTALL_PREFIX=/usr/ \ @@ -29,6 +31,7 @@ -DENABLE_TESTS=OFF \ -DENABLE_E100=ON # e100 is disabled by default for now, check that on future releases + make } @@ -40,5 +43,5 @@ package() { cd "$srcdir/uhd-release_$_verstring/host/build" make DESTDIR="$pkgdir" install - install -Dm644 "$pkgdir/usr/share/uhd/utils/uhd-usrp.rules" "$pkgdir/usr/lib/udev/rules.d/10-uhd-usrp.rules" + install -Dm644 "../utils/uhd-usrp.rules" "$pkgdir/usr/lib/udev/rules.d/10-uhd-usrp.rules" }
