wok view gnuradio/receipt @ rev 21349

ejabberd: added cacerts to BUILD_DEPENDS
author Hans-G?nter Theisgen
date Sat Apr 20 17:16:39 2019 +0100 (2019-04-20)
parents 7c0eaf6ae321
children f3e5f6a3ef9a
line source
1 # SliTaz package receipt.
3 PACKAGE="gnuradio"
4 VERSION="3.7.13.4"
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://gnuradio.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/releases/$PACKAGE/$TARBALL"
14 DEPENDS="alsa-lib fftw gsl jack-audio-connection-kit \
15 libboost-date-time libboost-filesystem libboost-program-options \
16 libboost-system libboost-thread orc portaudio python"
17 BUILD_DEPENDS="alsa-lib-dev cmake cppunit-dev fftw-dev gsl-dev \
18 jack-audio-connection-kit-dev libboost-dev libboost-filesystem-dev \
19 libboost-program-options-dev libboost-regex-dev libboost-system-dev \
20 libboost-test-dev libboost-thread-dev libboost-tr1-dev \
21 libsdl-dev libusb-dev log4c-dev orc-dev pkg-config portaudio-dev \
22 pygtk-dev python-cheetah python-lxml python-mako python-numpy \
23 python-six python-sphinx swig"
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 patch --input=$stuff/patches/float_array_to_int.patch \
29 $src/gr-blocks/lib/float_array_to_int.cc
30 patch --input=$stuff/patches/test_tag_variable_rate_ff_impl.patch \
31 $src/gr-blocks/lib/test_tag_variable_rate_ff_impl.cc
33 mkdir build
34 cd build
35 cmake .. \
36 -Wno-dev \
37 -DCMAKE_INSTALL_PREFIX=/usr &&
38 make -j 1 &&
39 sed -i 's,bin/ctest.*,& || true,' Makefile &&
40 make -j 1 test &&
41 make DESTDIR=$DESTDIR install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr/share
48 mkdir -p $fs/usr/lib
50 cp -a $install/etc $fs
51 cp -a $install/usr/bin $fs/usr
52 cp -a $install/usr/share/gnuradio $fs/usr/share
53 cp -a $install/usr/lib/*.so* $fs/usr/lib
54 cp -a $install/usr/lib/python* $fs/usr/lib
55 }