wok view gnuradio/receipt @ rev 21339

updated gnuradio (3.7.10.1 -> 3.7.13.4)
author Hans-G?nter Theisgen
date Sat Apr 20 11:34:23 2019 +0100 (19 months ago)
parents a78610b2eb47
children 7c0eaf6ae321
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-numpy python-sphinx swig"
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 mkdir build
28 cd build
29 cmake .. \
30 -Wno-dev \
31 -DCMAKE_INSTALL_PREFIX=/usr &&
32 make -j 1 &&
33 sed -i 's,bin/ctest.*,& || true,' Makefile &&
34 make -j 1 test &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/share
42 mkdir -p $fs/usr/lib
44 cp -a $install/etc $fs
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/share/gnuradio $fs/usr/share
47 cp -a $install/usr/lib/*.so* $fs/usr/lib
48 cp -a $install/usr/lib/python* $fs/usr/lib
49 }