wok annotate gnuradio/receipt @ rev 23266
updated optipng (0.7.5 -> 0.7.7)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 27 17:53:32 2020 +0100 (2020-03-27) |
parents | e44d58e5e7e8 |
children | a3c45ab9082e |
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@21340 | 22 pygtk-dev python-cheetah python-lxml python-mako python-numpy \ |
Hans-G?nter@21340 | 23 python-six python-sphinx swig" |
pascal@17100 | 24 |
pascal@17100 | 25 # Rules to configure and make the package. |
pascal@17100 | 26 compile_rules() |
pascal@17100 | 27 { |
pascal@21370 | 28 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lpthread" |
Hans-G?nter@21341 | 29 patch --input=$stuff/patches/float_array_to_int.patch \ |
Hans-G?nter@21341 | 30 $src/gr-blocks/lib/float_array_to_int.cc |
Hans-G?nter@21341 | 31 patch --input=$stuff/patches/test_tag_variable_rate_ff_impl.patch \ |
Hans-G?nter@21341 | 32 $src/gr-blocks/lib/test_tag_variable_rate_ff_impl.cc |
Hans-G?nter@21341 | 33 |
Hans-G?nter@21341 | 34 mkdir build |
Hans-G?nter@21341 | 35 cd build |
Hans-G?nter@21339 | 36 cmake .. \ |
Hans-G?nter@21339 | 37 -Wno-dev \ |
Hans-G?nter@21339 | 38 -DCMAKE_INSTALL_PREFIX=/usr && |
Hans-G?nter@21339 | 39 make -j 1 && |
pascal@18435 | 40 sed -i 's,bin/ctest.*,& || true,' Makefile && |
Hans-G?nter@21339 | 41 make -j 1 test && |
pascal@17100 | 42 make DESTDIR=$DESTDIR install |
pascal@17100 | 43 } |
pascal@17100 | 44 |
pascal@17100 | 45 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17100 | 46 genpkg_rules() |
pascal@17100 | 47 { |
Hans-G?nter@21339 | 48 mkdir -p $fs/usr/share |
Hans-G?nter@21339 | 49 mkdir -p $fs/usr/lib |
Hans-G?nter@21339 | 50 |
Hans-G?nter@21339 | 51 cp -a $install/etc $fs |
Hans-G?nter@21339 | 52 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21339 | 53 cp -a $install/usr/share/gnuradio $fs/usr/share |
Hans-G?nter@21339 | 54 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@21339 | 55 cp -a $install/usr/lib/python* $fs/usr/lib |
pascal@17100 | 56 } |