wok-current rev 17100
Add gnuradio
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 29 16:49:17 2014 +0000 (2014-08-29) |
parents | 912169cf03ab |
children | 8e374eb778d9 |
files | gnuradio/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gnuradio/receipt Fri Aug 29 16:49:17 2014 +0000 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 +}