wok-next view uhd/receipt @ rev 20534
Clean default configure options when site script used.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 30 19:31:50 2018 +0300 (2018-03-30) |
parents | 2f3aba6cc31e |
children | a244e109372e |
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 libboost-dev libboost-date-time \
15 libboost-filesystem libboost-program-options libboost-regex \
16 libboost-system libboost-unit-test-framework libboost-serialization \
17 libboost-thread libboost-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="libboost-chrono libboost-date-time libboost-filesystem \
40 libboost-program-options libboost-regex libboost-serialization \
41 libboost-system libboost-thread libboost-unit-test-framework \
42 libusb ncurses ncurses-libform python libboost-math-tr1 eudev"
43 ;;
44 *-dev)
45 copy @dev
46 DEPENDS="uhd"
47 ;;
48 esac
49 }