wok view uhd/receipt @ rev 19469
cairo-gl, compiz: update depends
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Thu Oct 27 16:11:49 2016 +0200 (2016-10-27) |
parents | |
children | b0072f522c17 |
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 cd $src/host
25 mkdir build
26 cd build
27 cmake .. -DENABLE_MANUAL=OFF -DENABLE_DOXYGEN=OFF \
28 -DENABLE_MAN_PAGES=OFF -DENABLE_B200=ON -DENABLE_USB=ON \
29 -DCMAKE_INSTALL_PREFIX=/usr
30 make && make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 cp -a $install/usr/lib/uhd $fs/usr/lib
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/share $fs/usr
41 }