milis/talimatname/genel/s/soxr/talimat

33 lines
814 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Sürekli yeniden örnekleme oranı için hızlı ve yüksek kaliteli sonuçlar vermeyi amaçlayan SoX Resampler kitaplığı
# URL: http://sourceforge.net/p/soxr/wiki/Home/
# Paketçi: milisarge
# Gerekler: cmake
# Grup: kütüphane
isim=soxr
surum=0.1.2
devir=1
kaynak=(http://downloads.sourceforge.net/project/soxr/soxr-$surum-Source.tar.xz)
derle() {
cd soxr-$surum-Source
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_EXAMPLES=OFF \
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_BUILD_TYPE=Release \
-DVISIBILITY_HIDDENL=ON \
-DWITH_AVFFT=ON \
-DWITH_DOUBLE_PRECISION=ON \
-DWITH_LSR_BINDINGS=ON \
-DWITH_OPENMP=ON \
-DWITH_PFFFT=ON \
-DWITH_SIMD=ON \
.
make
make DESTDIR="$PKG" install
install -Dm644 LICENCE "$PKG"/usr/share/licenses/$isim/LICENSE
rm -r "$PKG"/usr/share/doc/
}