wok-next view uhd/receipt @ rev 19895
Add: avrdude, stm8flash
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Oct 11 22:07:42 2017 +0200 (2017-10-11) |
parents | f7b535cbbf60 |
children | 6b6854289368 |
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-unit-test-framework libboost-serialization \
15 libboost-thread libboost-math-tr1 udev python"
16 BUILD_DEPENDS="wget cmake python python-mako libboost-dev libboost-date-time \
17 libboost-filesystem libboost-program-options libboost-regex \
18 libboost-system libboost-unit-test-framework libboost-serialization \
19 libboost-thread libboost-math-tr1 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 }