wok-next annotate aubio/receipt @ rev 20988
Small updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Oct 01 01:18:37 2018 +0300 (2018-10-01) |
parents | 82de58c2e6ff |
children | d5aab818505e |
rev | line source |
---|---|
al@20962 | 1 # SliTaz package receipt v2. |
al@20962 | 2 |
al@20962 | 3 PACKAGE="aubio" |
al@20988 | 4 VERSION="0.4.7" |
al@20962 | 5 CATEGORY="multimedia" |
al@20962 | 6 SHORT_DESC="A collection of tools for music analysis" |
al@20962 | 7 MAINTAINER="jozee@slitaz.org" |
al@20962 | 8 LICENSE="GPL3" |
al@20962 | 9 WEB_SITE="https://aubio.org/" |
al@20962 | 10 |
al@20962 | 11 TARBALL="aubio-$VERSION.tar.bz2" |
al@20962 | 12 WGET_URL="https://aubio.org/pub/$TARBALL" |
al@20962 | 13 |
al@20962 | 14 BUILD_DEPENDS="python-dev fftw-dev libsndfile-dev libsamplerate-dev jack-dev \ |
al@20988 | 15 ffmpeg-dev python-numpy python3-dev python3-numpy" |
al@20988 | 16 SPLIT="$PACKAGE-dev python-aubio:py python3-aubio:py3" |
al@20962 | 17 |
al@20962 | 18 COOKOPTS="instant-pack" |
al@20962 | 19 |
al@20962 | 20 compile_rules() { |
al@20962 | 21 case $SET in |
al@20962 | 22 '') |
al@20962 | 23 ./waf configure build \ |
al@20962 | 24 --enable-fftw3f \ |
al@20962 | 25 --prefix=/usr \ |
al@20962 | 26 --libdir=/usr/lib \ |
al@20962 | 27 && |
al@20962 | 28 ./waf install \ |
al@20962 | 29 --destdir=$install |
al@20962 | 30 ;; |
al@20962 | 31 py) |
al@20962 | 32 # python-aubio require freshly built aubio-dev |
al@20962 | 33 tazpkg -gi --quiet --local --cookmode aubio-dev |
al@20962 | 34 |
al@20962 | 35 python -B setup.py install --root=$install |
al@20962 | 36 ;; |
al@20988 | 37 py3) |
al@20988 | 38 # python3-aubio require freshly built aubio-dev |
al@20988 | 39 tazpkg -gi --quiet --local --cookmode aubio-dev |
al@20988 | 40 |
al@20988 | 41 python3 -B setup.py install --root=$install |
al@20988 | 42 ;; |
al@20962 | 43 esac |
al@20962 | 44 } |
al@20962 | 45 |
al@20962 | 46 genpkg_rules() { |
al@20962 | 47 case $PACKAGE in |
al@20962 | 48 aubio) |
al@20962 | 49 copy @std |
al@20962 | 50 DEPENDS="ffmpeg fftw jack libsamplerate libsndfile" |
al@20962 | 51 TAGS="audio label multimedia" |
al@20962 | 52 ;; |
al@20962 | 53 *-dev) |
al@20962 | 54 copy @dev |
al@20988 | 55 DEPENDS="aubio" |
al@20962 | 56 ;; |
al@20962 | 57 python-aubio) |
al@20962 | 58 copy @std |
al@20962 | 59 CAT="python|Python bindings" |
al@20962 | 60 DEPENDS="aubio python" |
al@20962 | 61 ;; |
al@20988 | 62 python3-aubio) |
al@20988 | 63 copy @std |
al@20988 | 64 CAT="python|Python3 bindings" |
al@20988 | 65 DEPENDS="aubio python3" |
al@20988 | 66 ;; |
al@20962 | 67 esac |
al@20962 | 68 } |