wok-6.x annotate gnuradio/receipt @ rev 18430
Up gnuradio (3.7.8)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 21 18:28:34 2015 +0200 (2015-09-21) |
parents | 0384e7a5cbfd |
children | 55408ff10827 |
rev | line source |
---|---|
pascal@17100 | 1 # SliTaz package receipt. |
pascal@17100 | 2 |
pascal@17100 | 3 PACKAGE="gnuradio" |
pascal@18430 | 4 VERSION="3.7.8" |
pascal@17100 | 5 CATEGORY="development" |
pascal@17100 | 6 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17100 | 7 SHORT_DESC="Signal processing blocks to implement software radios." |
pascal@17100 | 8 LICENSE="GPL3" |
pascal@17100 | 9 WEB_SITE="http://gnuradio.org/" |
pascal@17100 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@17100 | 11 WGET_URL="$WEB_SITE/releases/$PACKAGE/$TARBALL" |
pascal@17100 | 12 |
pascal@17100 | 13 DEPENDS="python libboost-date-time libboost-program-options \ |
pascal@17100 | 14 libboost-filesystem libboost-system libboost-thread orc alsa-lib \ |
pascal@17100 | 15 gsl fftw jack-audio-connection-kit portaudio" |
pascal@17100 | 16 BUILD_DEPENDS="cmake fftw-dev python-numpy python-cheetah python-lxml \ |
pascal@17100 | 17 libboost-filesystem-dev libboost-system-dev libboost-test-dev libboost-dev \ |
pascal@17100 | 18 libboost-program-options-dev libboost-thread-dev libboost-tr1-dev \ |
pascal@17100 | 19 libboost-regex-dev pygtk-dev libsdl-dev \ |
pascal@17100 | 20 pkg-config swig cppunit-dev orc-dev python-sphinx gsl-dev libusb-dev \ |
pascal@17100 | 21 alsa-lib-dev jack-audio-connection-kit-dev portaudio-dev log4c-dev" |
pascal@17100 | 22 |
pascal@17100 | 23 # Rules to configure and make the package. |
pascal@17100 | 24 compile_rules() |
pascal@17100 | 25 { |
pascal@17100 | 26 mkdir build |
pascal@17100 | 27 cd build |
pascal@17100 | 28 cmake -Wno-dev -DCMAKE_INSTALL_PREFIX=/usr .. && |
pascal@17100 | 29 make && |
pascal@17100 | 30 make test # && |
pascal@17100 | 31 make DESTDIR=$DESTDIR install |
pascal@17100 | 32 } |
pascal@17100 | 33 |
pascal@17100 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17100 | 35 genpkg_rules() |
pascal@17100 | 36 { |
pascal@17100 | 37 mkdir -p $fs/usr/share $fs/usr/lib |
pascal@17100 | 38 cp -a $install/etc $fs |
pascal@17100 | 39 cp -a $install/usr/bin $fs/usr |
pascal@17100 | 40 cp -a $install/usr/share/gnuradio $fs/usr/share |
pascal@17100 | 41 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@17100 | 42 cp -a $install/usr/lib/python* $fs/usr/lib |
pascal@17100 | 43 } |