wok-current view gnuradio/receipt @ rev 23506
updated python-markupsafe (0.12 -> 1.1.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 06 09:22:36 2020 +0100 (2020-04-06) |
parents | e44d58e5e7e8 |
children | a3c45ab9082e |
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 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lpthread"
29 patch --input=$stuff/patches/float_array_to_int.patch \
30 $src/gr-blocks/lib/float_array_to_int.cc
31 patch --input=$stuff/patches/test_tag_variable_rate_ff_impl.patch \
32 $src/gr-blocks/lib/test_tag_variable_rate_ff_impl.cc
34 mkdir build
35 cd build
36 cmake .. \
37 -Wno-dev \
38 -DCMAKE_INSTALL_PREFIX=/usr &&
39 make -j 1 &&
40 sed -i 's,bin/ctest.*,& || true,' Makefile &&
41 make -j 1 test &&
42 make DESTDIR=$DESTDIR install
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 mkdir -p $fs/usr/share
49 mkdir -p $fs/usr/lib
51 cp -a $install/etc $fs
52 cp -a $install/usr/bin $fs/usr
53 cp -a $install/usr/share/gnuradio $fs/usr/share
54 cp -a $install/usr/lib/*.so* $fs/usr/lib
55 cp -a $install/usr/lib/python* $fs/usr/lib
56 }