wok-next view gnuradio/receipt @ rev 20475
Tiny edits: libsdl-mixer, scummvm, stella, syasokoban, sz81, tuxpaint, workerfm...
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Mar 11 13:37:02 2018 +0200 (2018-03-11) |
parents | 2f3aba6cc31e |
children | d43bf7aae921 |
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="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 portaudio"
16 BUILD_DEPENDS="cmake fftw-dev python-numpy python-cheetah python-lxml \
17 libboost-dev libboost-filesystem libboost-system libboost-unit-test-framework \
18 libboost-program-options libboost-thread libboost-math-tr1 libboost-regex \
19 pygtk-dev libsdl-dev \
20 pkg-config swig cppunit-dev orc-dev python-sphinx gsl-dev libusb-dev \
21 alsa-lib-dev jack-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 }