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