wok-6.x annotate uhd/receipt @ rev 19452
Up fasm (1.71.57)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 20 16:31:20 2016 +0200 (2016-10-20) |
parents | |
children | b0072f522c17 |
rev | line source |
---|---|
pascal@19213 | 1 # SliTaz package receipt. |
pascal@19213 | 2 |
pascal@19213 | 3 PACKAGE="uhd" |
pascal@19213 | 4 VERSION="release_003_009_003" |
pascal@19213 | 5 CATEGORY="network" |
pascal@19213 | 6 SHORT_DESC="The USRP(tm) Hardware Driver." |
pascal@19213 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@19213 | 8 LICENSE="GPL2" |
pascal@19213 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@19213 | 10 WEB_SITE="https://github.com/EttusResearch/uhd" |
pascal@19213 | 11 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" |
pascal@19213 | 12 |
pascal@19213 | 13 DEPENDS="libboost-date-time libboost-filesystem libboost-program-options \ |
pascal@19213 | 14 libboost-regex libboost-system libboost-test libboost-serialization \ |
pascal@19213 | 15 libboost_thread libboost-tr1 udev python" |
pascal@19213 | 16 BUILD_DEPENDS="wget cmake python python-mako libboost-date-time-dev \ |
pascal@19213 | 17 libboost-filesystem-dev libboost-program-options-dev libboost-regex-dev \ |
pascal@19213 | 18 libboost-system-dev libboost-test-dev libboost-serialization-dev \ |
pascal@19213 | 19 libboost-thread-dev libboost-tr1-dev libusb-dev udev-dev" |
pascal@19213 | 20 |
pascal@19213 | 21 # Rules to configure and make the package. |
pascal@19213 | 22 compile_rules() |
pascal@19213 | 23 { |
pascal@19213 | 24 cd $src/host |
pascal@19213 | 25 mkdir build |
pascal@19213 | 26 cd build |
pascal@19213 | 27 cmake .. -DENABLE_MANUAL=OFF -DENABLE_DOXYGEN=OFF \ |
pascal@19213 | 28 -DENABLE_MAN_PAGES=OFF -DENABLE_B200=ON -DENABLE_USB=ON \ |
pascal@19213 | 29 -DCMAKE_INSTALL_PREFIX=/usr |
pascal@19213 | 30 make && make DESTDIR=$DESTDIR install |
pascal@19213 | 31 } |
pascal@19213 | 32 |
pascal@19213 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19213 | 34 genpkg_rules() |
pascal@19213 | 35 { |
pascal@19213 | 36 mkdir -p $fs/usr/lib |
pascal@19213 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@19213 | 38 cp -a $install/usr/lib/uhd $fs/usr/lib |
pascal@19213 | 39 cp -a $install/usr/bin $fs/usr |
pascal@19213 | 40 cp -a $install/usr/share $fs/usr |
pascal@19213 | 41 } |