wok-next view uhd/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
parents | a244e109372e |
children |
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="$PACKAGE-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 &&
33 make install
34 }
36 genpkg_rules() {
37 case $PACKAGE in
38 uhd)
39 copy @std
40 DEPENDS="boost-chrono boost-date-time boost-filesystem \
41 boost-program-options boost-regex boost-serialization \
42 boost-system boost-thread boost-unit-test-framework \
43 libusb ncurses ncurses-libform python boost-math-tr1 eudev"
44 ;;
45 *-dev)
46 copy @dev
47 DEPENDS="uhd"
48 ;;
49 esac
50 }