wok diff gnuradio/receipt @ rev 18429

busybox: add shutdown
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 21 17:56:57 2015 +0200 (2015-09-21)
parents
children 0179b7504010
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gnuradio/receipt	Mon Sep 21 17:56:57 2015 +0200
     1.3 @@ -0,0 +1,43 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gnuradio"
     1.7 +VERSION="3.7.4"
     1.8 +CATEGORY="development"
     1.9 +MAINTAINER="pascal.bellard@slitaz.org"
    1.10 +SHORT_DESC="Signal processing blocks to implement software radios."
    1.11 +LICENSE="GPL3"
    1.12 +WEB_SITE="http://gnuradio.org/"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WGET_URL="$WEB_SITE/releases/$PACKAGE/$TARBALL"
    1.15 +
    1.16 +DEPENDS="python libboost-date-time libboost-program-options \
    1.17 +libboost-filesystem libboost-system libboost-thread orc alsa-lib \
    1.18 +gsl fftw jack-audio-connection-kit portaudio"
    1.19 +BUILD_DEPENDS="cmake fftw-dev python-numpy python-cheetah python-lxml \
    1.20 +libboost-filesystem-dev libboost-system-dev libboost-test-dev libboost-dev \
    1.21 +libboost-program-options-dev libboost-thread-dev libboost-tr1-dev \
    1.22 +libboost-regex-dev pygtk-dev libsdl-dev \
    1.23 +pkg-config swig cppunit-dev orc-dev python-sphinx gsl-dev libusb-dev \
    1.24 +alsa-lib-dev jack-audio-connection-kit-dev portaudio-dev log4c-dev"
    1.25 +
    1.26 +# Rules to configure and make the package.
    1.27 +compile_rules()
    1.28 +{
    1.29 +	mkdir build
    1.30 +	cd build
    1.31 +	cmake -Wno-dev -DCMAKE_INSTALL_PREFIX=/usr .. &&
    1.32 +	make &&
    1.33 +	make test # &&
    1.34 +	make DESTDIR=$DESTDIR install
    1.35 +}
    1.36 +	
    1.37 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.38 +genpkg_rules()
    1.39 +{
    1.40 +	mkdir -p $fs/usr/share $fs/usr/lib
    1.41 +	cp -a $install/etc $fs
    1.42 +	cp -a $install/usr/bin $fs/usr
    1.43 +	cp -a $install/usr/share/gnuradio $fs/usr/share
    1.44 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.45 +	cp -a $install/usr/lib/python* $fs/usr/lib
    1.46 +}