wok-current view gnuradio/receipt @ rev 20273
linux: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 18 17:13:32 2018 +0100 (2018-03-18) |
parents | 55408ff10827 |
children | a78610b2eb47 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnuradio"
4 VERSION="3.7.10.1"
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="http://gnuradio.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$WEB_SITE/releases/$PACKAGE/$TARBALL"
13 DEPENDS="python libboost-date-time libboost-program-options \
14 libboost-filesystem libboost-system libboost-thread orc alsa-lib \
15 gsl fftw jack-audio-connection-kit portaudio"
16 BUILD_DEPENDS="cmake fftw-dev python-numpy python-cheetah python-lxml \
17 libboost-filesystem-dev libboost-system-dev libboost-test-dev libboost-dev \
18 libboost-program-options-dev libboost-thread-dev libboost-tr1-dev \
19 libboost-regex-dev pygtk-dev libsdl-dev \
20 pkg-config swig cppunit-dev orc-dev python-sphinx gsl-dev libusb-dev \
21 alsa-lib-dev jack-audio-connection-kit-dev portaudio-dev log4c-dev"
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 mkdir build
27 cd build
28 cmake -Wno-dev -DCMAKE_INSTALL_PREFIX=/usr .. &&
29 make &&
30 sed -i 's,bin/ctest.*,& || true,' Makefile &&
31 make test &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share $fs/usr/lib
39 cp -a $install/etc $fs
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/share/gnuradio $fs/usr/share
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 cp -a $install/usr/lib/python* $fs/usr/lib
44 }