mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
35 lines
1.3 KiB
Plaintext
35 lines
1.3 KiB
Plaintext
PortSystem 1.0
|
|
|
|
name libxtract
|
|
version 0.4.7
|
|
categories audio
|
|
maintainers christophbuente.de:info
|
|
description a simple, portable, lightweight library of audio feature extraction functions
|
|
long_description LibXtract is ${description}.
|
|
homepage http://libxtract.sourceforge.net/
|
|
master_sites sourceforge
|
|
|
|
checksums md5 b1dadff5422a3f5b7661bbf2522dd01d \
|
|
sha1 150e9ec17fb860845c58681bbc519907b4506cca \
|
|
rmd160 9fa0d78ad263009ceb6ec2f1a441c633e8e60280
|
|
|
|
patchfiles patch-configure.diff
|
|
|
|
variant fft description {Add FFT support} {
|
|
depends_lib-append port:fftw-3
|
|
configure.args-append --enable-fft \
|
|
--with-fftw3-dir=${prefix}/include \
|
|
--libdir=${prefix}/lib
|
|
}
|
|
|
|
platform darwin arm {
|
|
# Update config.guess and config.sub to be able to build on arm64.
|
|
depends_build-append port:automake
|
|
post-patch {
|
|
set automake_dirs [glob -directory ${prefix}/share automake-*]
|
|
set automake_dir [lindex [lsort -command vercmp $automake_dirs] end]
|
|
copy -force ${automake_dir}/config.guess ${automake_dir}/config.sub \
|
|
${worksrcpath}
|
|
}
|
|
}
|