wok-current view gnuradio/receipt @ rev 17281
Up gparted (0.20.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 26 18:29:21 2014 +0100 (2014-10-26) |
parents | |
children | 0179b7504010 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnuradio"
4 VERSION="3.7.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="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 make test # &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share $fs/usr/lib
38 cp -a $install/etc $fs
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/share/gnuradio $fs/usr/share
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 cp -a $install/usr/lib/python* $fs/usr/lib
43 }