wok-next view gnuradio/receipt @ rev 21151

Add/update some Lua packages
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jan 31 00:34:43 2019 +0200 (2019-01-31)
parents d5aab818505e
children 21dd2813e933
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 sdl-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 }