wok-next annotate gnuradio/receipt @ rev 20915

libboost -> boost
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Aug 21 00:41:54 2018 +0300 (2018-08-21)
parents d43bf7aae921
children c022997c7a57
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
al@20915 13 DEPENDS="python boost-date-time boost-program-options \
al@20915 14 boost-filesystem boost-system boost-thread orc alsa-lib \
al@19829 15 gsl fftw jack portaudio"
pascal@17100 16 BUILD_DEPENDS="cmake fftw-dev python-numpy python-cheetah python-lxml \
al@20915 17 boost-dev boost-filesystem boost-system boost-unit-test-framework \
al@20915 18 boost-program-options boost-thread boost-math-tr1 boost-regex \
al@19765 19 pygtk-dev libsdl-dev \
al@20513 20 swig cppunit-dev orc-dev python-sphinx gsl-dev libusb-dev \
al@19829 21 alsa-lib-dev jack-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@18435 30 sed -i 's,bin/ctest.*,& || true,' Makefile &&
pascal@18435 31 make test &&
pascal@17100 32 make DESTDIR=$DESTDIR install
pascal@17100 33 }
pascal@17100 34
pascal@17100 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17100 36 genpkg_rules()
pascal@17100 37 {
pascal@17100 38 mkdir -p $fs/usr/share $fs/usr/lib
pascal@17100 39 cp -a $install/etc $fs
pascal@17100 40 cp -a $install/usr/bin $fs/usr
pascal@17100 41 cp -a $install/usr/share/gnuradio $fs/usr/share
pascal@17100 42 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@17100 43 cp -a $install/usr/lib/python* $fs/usr/lib
pascal@17100 44 }