wok-next annotate gnuradio/receipt @ rev 21127
Update xarchiver (0.5.4.14), xcursorgen (1.0.7)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 18 11:29:09 2019 +0200 (2019-01-18) |
parents | d5aab818505e |
children | 21dd2813e933 |
rev | line source |
---|---|
pascal@17100 | 1 # SliTaz package receipt. |
pascal@17100 | 2 |
pascal@17100 | 3 PACKAGE="gnuradio" |
pascal@18430 | 4 VERSION="3.7.8" |
pascal@17100 | 5 CATEGORY="development" |
pascal@17100 | 6 MAINTAINER="pascal.bellard@slitaz.org" |
al@21020 | 7 SHORT_DESC="Signal processing blocks to implement software radios" |
pascal@17100 | 8 LICENSE="GPL3" |
al@21020 | 9 WEB_SITE="https://www.gnuradio.org/" |
al@21020 | 10 |
pascal@17100 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@17100 | 12 WGET_URL="$WEB_SITE/releases/$PACKAGE/$TARBALL" |
pascal@17100 | 13 |
pascal@17100 | 14 BUILD_DEPENDS="cmake fftw-dev python-numpy python-cheetah python-lxml \ |
al@20915 | 15 boost-dev boost-filesystem boost-system boost-unit-test-framework \ |
al@20915 | 16 boost-program-options boost-thread boost-math-tr1 boost-regex \ |
al@21087 | 17 python-pygtk-dev sdl-dev \ |
al@20513 | 18 swig cppunit-dev orc-dev python-sphinx gsl-dev libusb-dev \ |
al@19829 | 19 alsa-lib-dev jack-dev portaudio-dev log4c-dev" |
pascal@17100 | 20 |
al@21020 | 21 compile_rules() { |
pascal@17100 | 22 mkdir build |
al@21020 | 23 cd build |
al@21020 | 24 cmake \ |
al@21020 | 25 -Wno-dev \ |
al@21020 | 26 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@21020 | 27 .. && |
pascal@17100 | 28 make && |
pascal@18435 | 29 sed -i 's,bin/ctest.*,& || true,' Makefile && |
pascal@18435 | 30 make test && |
al@21020 | 31 make DESTDIR=$install install |
pascal@17100 | 32 } |
al@21020 | 33 |
al@21020 | 34 genpkg_rules() { |
pascal@17100 | 35 mkdir -p $fs/usr/share $fs/usr/lib |
pascal@17100 | 36 cp -a $install/etc $fs |
pascal@17100 | 37 cp -a $install/usr/bin $fs/usr |
pascal@17100 | 38 cp -a $install/usr/share/gnuradio $fs/usr/share |
pascal@17100 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@17100 | 40 cp -a $install/usr/lib/python* $fs/usr/lib |
al@21020 | 41 DEPENDS="python boost-date-time boost-program-options boost-filesystem \ |
al@21020 | 42 boost-system boost-thread orc alsa-lib gsl fftw jack portaudio" |
pascal@17100 | 43 } |