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