wok-current annotate gnuradio/receipt @ rev 21339
updated gnuradio (3.7.10.1 -> 3.7.13.4)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 20 11:34:23 2019 +0100 (2019-04-20) |
parents | a78610b2eb47 |
children | 7c0eaf6ae321 |
rev | line source |
---|---|
pascal@17100 | 1 # SliTaz package receipt. |
pascal@17100 | 2 |
pascal@17100 | 3 PACKAGE="gnuradio" |
Hans-G?nter@21339 | 4 VERSION="3.7.13.4" |
pascal@17100 | 5 CATEGORY="development" |
pascal@17100 | 6 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17100 | 7 SHORT_DESC="Signal processing blocks to implement software radios." |
pascal@17100 | 8 LICENSE="GPL3" |
pascal@20669 | 9 WEB_SITE="https://gnuradio.org/" |
Hans-G?nter@21339 | 10 |
pascal@17100 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@17100 | 12 WGET_URL="$WEB_SITE/releases/$PACKAGE/$TARBALL" |
pascal@17100 | 13 |
Hans-G?nter@21339 | 14 DEPENDS="alsa-lib fftw gsl jack-audio-connection-kit \ |
Hans-G?nter@21339 | 15 libboost-date-time libboost-filesystem libboost-program-options \ |
Hans-G?nter@21339 | 16 libboost-system libboost-thread orc portaudio python" |
Hans-G?nter@21339 | 17 BUILD_DEPENDS="alsa-lib-dev cmake cppunit-dev fftw-dev gsl-dev \ |
Hans-G?nter@21339 | 18 jack-audio-connection-kit-dev libboost-dev libboost-filesystem-dev \ |
Hans-G?nter@21339 | 19 libboost-program-options-dev libboost-regex-dev libboost-system-dev \ |
Hans-G?nter@21339 | 20 libboost-test-dev libboost-thread-dev libboost-tr1-dev \ |
Hans-G?nter@21339 | 21 libsdl-dev libusb-dev log4c-dev orc-dev pkg-config portaudio-dev \ |
Hans-G?nter@21339 | 22 pygtk-dev python-cheetah python-lxml python-numpy python-sphinx swig" |
pascal@17100 | 23 |
pascal@17100 | 24 # Rules to configure and make the package. |
pascal@17100 | 25 compile_rules() |
pascal@17100 | 26 { |
pascal@17100 | 27 mkdir build |
pascal@17100 | 28 cd build |
Hans-G?nter@21339 | 29 cmake .. \ |
Hans-G?nter@21339 | 30 -Wno-dev \ |
Hans-G?nter@21339 | 31 -DCMAKE_INSTALL_PREFIX=/usr && |
Hans-G?nter@21339 | 32 make -j 1 && |
pascal@18435 | 33 sed -i 's,bin/ctest.*,& || true,' Makefile && |
Hans-G?nter@21339 | 34 make -j 1 test && |
pascal@17100 | 35 make DESTDIR=$DESTDIR install |
pascal@17100 | 36 } |
pascal@17100 | 37 |
pascal@17100 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17100 | 39 genpkg_rules() |
pascal@17100 | 40 { |
Hans-G?nter@21339 | 41 mkdir -p $fs/usr/share |
Hans-G?nter@21339 | 42 mkdir -p $fs/usr/lib |
Hans-G?nter@21339 | 43 |
Hans-G?nter@21339 | 44 cp -a $install/etc $fs |
Hans-G?nter@21339 | 45 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21339 | 46 cp -a $install/usr/share/gnuradio $fs/usr/share |
Hans-G?nter@21339 | 47 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@21339 | 48 cp -a $install/usr/lib/python* $fs/usr/lib |
pascal@17100 | 49 } |