wok annotate gnuradio/receipt @ rev 20222

memtest, ipxe: update bootloader.S
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 26 19:03:16 2018 +0100 (2018-02-26)
parents 55408ff10827
children a78610b2eb47
rev   line source
pascal@17100 1 # SliTaz package receipt.
pascal@17100 2
pascal@17100 3 PACKAGE="gnuradio"
pascal@19813 4 VERSION="3.7.10.1"
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@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 }