milis/talimatname/genel/s/soxr/talimat

32 lines
777 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: The SoX Resampler library that aims to give fast and high quality results for any constant resampling ratio
2017-08-07 19:51:07 +02:00
# URL: http://sourceforge.net/p/soxr/wiki/Home/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: cmake
2017-08-07 19:51:07 +02:00
2017-10-28 14:10:23 +02:00
isim=soxr
surum=0.1.2
devir=1
2017-08-07 19:51:07 +02:00
2017-10-28 14:10:23 +02:00
kaynak=(http://downloads.sourceforge.net/project/soxr/soxr-$surum-Source.tar.xz)
2017-08-07 19:51:07 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd soxr-$surum-Source
2017-08-07 19:51:07 +02:00
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
2017-10-28 14:10:23 +02:00
install -Dm644 LICENCE "$PKG"/usr/share/licenses/$isim/LICENSE
2017-08-07 19:51:07 +02:00
rm -r "$PKG"/usr/share/doc/
}