wok-next view gnuradio/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents c022997c7a57
children 0f2575775b2d
line source
1 # SliTaz package receipt.
3 PACKAGE="gnuradio"
4 VERSION="3.7.8"
5 CATEGORY="development"
6 MAINTAINER="pascal.bellard@slitaz.org"
7 SHORT_DESC="Signal processing blocks to implement software radios"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.gnuradio.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/releases/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="cmake fftw-dev python-numpy python-cheetah python-lxml \
15 boost-dev boost-filesystem boost-system boost-unit-test-framework \
16 boost-program-options boost-thread boost-math-tr1 boost-regex \
17 python-pygtk-dev libsdl-dev \
18 swig cppunit-dev orc-dev python-sphinx gsl-dev libusb-dev \
19 alsa-lib-dev jack-dev portaudio-dev log4c-dev"
21 compile_rules() {
22 mkdir build
23 cd build
24 cmake \
25 -Wno-dev \
26 -DCMAKE_INSTALL_PREFIX=/usr \
27 .. &&
28 make &&
29 sed -i 's,bin/ctest.*,& || true,' Makefile &&
30 make test &&
31 make DESTDIR=$install install
32 }
34 genpkg_rules() {
35 mkdir -p $fs/usr/share $fs/usr/lib
36 cp -a $install/etc $fs
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/share/gnuradio $fs/usr/share
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 cp -a $install/usr/lib/python* $fs/usr/lib
41 DEPENDS="python boost-date-time boost-program-options boost-filesystem \
42 boost-system boost-thread orc alsa-lib gsl fftw jack portaudio"
43 }