Date: Saturday, October 26, 2013 @ 14:30:40 Author: kkeen Revision: 99249
archrelease: copy trunk to community-x86_64, community-i686 Added: libuhd/repos/community-i686/ libuhd/repos/community-i686/PKGBUILD (from rev 99248, libuhd/trunk/PKGBUILD) libuhd/repos/community-i686/libuhd.install (from rev 99248, libuhd/trunk/libuhd.install) libuhd/repos/community-x86_64/ libuhd/repos/community-x86_64/PKGBUILD (from rev 99248, libuhd/trunk/PKGBUILD) libuhd/repos/community-x86_64/libuhd.install (from rev 99248, libuhd/trunk/libuhd.install) ---------------------------------+ community-i686/PKGBUILD | 45 ++++++++++++++++++++++++++++++++++++++ community-i686/libuhd.install | 7 +++++ community-x86_64/PKGBUILD | 45 ++++++++++++++++++++++++++++++++++++++ community-x86_64/libuhd.install | 7 +++++ 4 files changed, 104 insertions(+) Copied: libuhd/repos/community-i686/PKGBUILD (from rev 99248, libuhd/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2013-10-26 12:30:40 UTC (rev 99249) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Kyle Keen <keen...@gmail.com> +# Contributor: Dominik Heidler <dheid...@gmail.com> + +pkgname=libuhd +pkgver=3.5.4 +_verstring=003_005_004 +pkgrel=2 +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') +makedepends=('cmake' 'boost' 'python2-cheetah') +install='libuhd.install' + +source=("libuhd-$pkgver.tar.gz::https://codeload.github.com/EttusResearch/uhd/tar.gz/release_$_verstring") +md5sums=('e90c95483a52b75cacc85f4fb0ef63ed') + +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|" + mkdir -p build + cd build + cmake .. -DCMAKE_INSTALL_PREFIX=/usr/ \ + -DPYTHON_EXECUTABLE=/usr/bin/python2 \ + -DENABLE_EXAMPLES=OFF \ + -DENABLE_UTILS=ON \ + -DENABLE_TESTS=OFF \ + -DENABLE_E100=ON + # e100 is disabled by default for now, check that on future releases + make +} + +check() { + cd "$srcdir/uhd-release_$_verstring/host/build" + make test +} + +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" +} Copied: libuhd/repos/community-i686/libuhd.install (from rev 99248, libuhd/trunk/libuhd.install) =================================================================== --- community-i686/libuhd.install (rev 0) +++ community-i686/libuhd.install 2013-10-26 12:30:40 UTC (rev 99249) @@ -0,0 +1,7 @@ +post_install() { + ldconfig +} + +post_upgrade() { + ldconfig +} Copied: libuhd/repos/community-x86_64/PKGBUILD (from rev 99248, libuhd/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2013-10-26 12:30:40 UTC (rev 99249) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Kyle Keen <keen...@gmail.com> +# Contributor: Dominik Heidler <dheid...@gmail.com> + +pkgname=libuhd +pkgver=3.5.4 +_verstring=003_005_004 +pkgrel=2 +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') +makedepends=('cmake' 'boost' 'python2-cheetah') +install='libuhd.install' + +source=("libuhd-$pkgver.tar.gz::https://codeload.github.com/EttusResearch/uhd/tar.gz/release_$_verstring") +md5sums=('e90c95483a52b75cacc85f4fb0ef63ed') + +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|" + mkdir -p build + cd build + cmake .. -DCMAKE_INSTALL_PREFIX=/usr/ \ + -DPYTHON_EXECUTABLE=/usr/bin/python2 \ + -DENABLE_EXAMPLES=OFF \ + -DENABLE_UTILS=ON \ + -DENABLE_TESTS=OFF \ + -DENABLE_E100=ON + # e100 is disabled by default for now, check that on future releases + make +} + +check() { + cd "$srcdir/uhd-release_$_verstring/host/build" + make test +} + +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" +} Copied: libuhd/repos/community-x86_64/libuhd.install (from rev 99248, libuhd/trunk/libuhd.install) =================================================================== --- community-x86_64/libuhd.install (rev 0) +++ community-x86_64/libuhd.install 2013-10-26 12:30:40 UTC (rev 99249) @@ -0,0 +1,7 @@ +post_install() { + ldconfig +} + +post_upgrade() { + ldconfig +}