wok-next annotate aubio/receipt @ rev 20487
nareto: update config.ini.php path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 12 10:58:05 2018 +0100 (2018-03-12) |
parents | fb478984fbc8 |
children | b156aee559a7 |
rev | line source |
---|---|
al@19835 | 1 # SliTaz package receipt v2. |
jozee@6822 | 2 |
jozee@6822 | 3 PACKAGE="aubio" |
al@19835 | 4 VERSION="0.4.5" |
jozee@6822 | 5 CATEGORY="multimedia" |
jozee@6822 | 6 MAINTAINER="jozee@slitaz.org" |
al@19835 | 7 LICENSE="GPL3" |
jozee@6822 | 8 SHORT_DESC="A library for audio labelling" |
al@19835 | 9 WEB_SITE="https://aubio.org/" |
jozee@6822 | 10 |
al@19835 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@19835 | 12 WGET_URL="https://aubio.org/pub/$TARBALL" |
al@19835 | 13 |
al@19835 | 14 BUILD_DEPENDS="python-dev fftw-dev libsndfile-dev libsamplerate-dev jack-dev \ |
al@19835 | 15 ffmpeg-dev gfortran lapack-dev python-numpy" |
al@19835 | 16 SPLIT="aubio-dev" |
slaxemulator@10276 | 17 |
jozee@6822 | 18 # Rules to configure and make the package. |
slaxemulator@13105 | 19 compile_rules() |
slaxemulator@13105 | 20 { |
al@19835 | 21 ./waf configure \ |
al@19835 | 22 --prefix=/usr \ |
al@19835 | 23 --enable-fftw3f && |
al@19835 | 24 ./waf build && |
al@19835 | 25 ./waf install \ |
al@19835 | 26 --destdir="$install" |
al@19835 | 27 # ./setup.py install --root="$install" --optimize=1 |
jozee@6822 | 28 } |
al@19269 | 29 |
jozee@6822 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@6822 | 31 genpkg_rules() |
jozee@6822 | 32 { |
al@19835 | 33 case $PACKAGE in |
al@19835 | 34 aubio) |
al@19835 | 35 copy @std |
al@19835 | 36 DEPENDS="ffmpeg fftw jack libsamplerate libsndfile" |
al@19835 | 37 TAGS="audio label multimedia" |
al@19835 | 38 ;; |
al@19835 | 39 *-dev) |
al@19835 | 40 copy @dev |
al@19835 | 41 ;; |
al@19835 | 42 esac |
jozee@6822 | 43 } |