wok-current view uhd/receipt @ rev 20471

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