wok-next annotate uhd/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | a244e109372e |
children |
rev | line source |
---|---|
al@20341 | 1 # SliTaz package receipt v2. |
pascal@19213 | 2 |
pascal@19213 | 3 PACKAGE="uhd" |
al@20341 | 4 VERSION="3.10.2.0"; FANCY_VERSION="release_003_010_002_000" |
pascal@19213 | 5 CATEGORY="network" |
al@20341 | 6 SHORT_DESC="The USRP(tm) Hardware Driver" |
pascal@19213 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@19213 | 8 LICENSE="GPL2" |
al@20341 | 9 WEB_SITE="https://github.com/EttusResearch/uhd" |
al@20341 | 10 |
pascal@19213 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20341 | 12 WGET_URL="$WEB_SITE/archive/$FANCY_VERSION.tar.gz" |
pascal@19213 | 13 |
al@20915 | 14 BUILD_DEPENDS="cmake python python-mako boost-dev boost-date-time \ |
al@20915 | 15 boost-filesystem boost-program-options boost-regex \ |
al@20915 | 16 boost-system boost-unit-test-framework boost-serialization \ |
al@20915 | 17 boost-thread boost-math-tr1 libusb-dev eudev-dev" |
al@21020 | 18 SPLIT="$PACKAGE-dev" |
pascal@19213 | 19 |
al@20341 | 20 compile_rules() { |
pascal@19213 | 21 cd $src/host |
pascal@19213 | 22 mkdir build |
pascal@19213 | 23 cd build |
al@20341 | 24 cmake \ |
al@20341 | 25 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@20341 | 26 -DENABLE_MANUAL=OFF \ |
al@20341 | 27 -DENABLE_DOXYGEN=OFF \ |
al@20341 | 28 -DENABLE_MAN_PAGES=OFF \ |
al@20341 | 29 -DENABLE_B200=ON \ |
al@20341 | 30 -DENABLE_USB=ON \ |
al@20341 | 31 .. && |
al@21020 | 32 make && |
al@21020 | 33 make install |
pascal@19213 | 34 } |
pascal@19213 | 35 |
al@20341 | 36 genpkg_rules() { |
al@20341 | 37 case $PACKAGE in |
al@20341 | 38 uhd) |
al@20341 | 39 copy @std |
al@20915 | 40 DEPENDS="boost-chrono boost-date-time boost-filesystem \ |
al@20915 | 41 boost-program-options boost-regex boost-serialization \ |
al@20915 | 42 boost-system boost-thread boost-unit-test-framework \ |
al@20915 | 43 libusb ncurses ncurses-libform python boost-math-tr1 eudev" |
al@20341 | 44 ;; |
al@20341 | 45 *-dev) |
al@20341 | 46 copy @dev |
al@20341 | 47 DEPENDS="uhd" |
al@20341 | 48 ;; |
al@20341 | 49 esac |
pascal@19213 | 50 } |