milis/talimatname/genel/p/portmidi/talimat

35 lines
847 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: Gerçek zamanlı MIDI giriş/çıkış için platform bağımsız kütüphane
# URL: http://portmedia.sourceforge.net
# Paketçi: milisarge
# Gerekler: cmake glib alsa-lib openjdk
isim=portmidi
surum=217
devir=1
kaynak=(http://downloads.sourceforge.net/project/portmedia/$isim/$surum/$isim-src-$surum.zip \
portmidi-217-build-fix.patch)
derle() {
unset MAKEFLAGS
cd $isim
sed -i "s#/usr/local#/usr#" */CMakeLists.txt pm_python/setup.py
mkdir -p pm_java/Release
patch -p1 -i $SRC/portmidi-217-build-fix.patch
cmake . -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_ARCHIVE_OUTPUT_DIRECTORY=Release \
-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=Release \
-DCMAKE_RUNTIME_OUTPUT_DIRECTORY=Release
make
make DESTDIR=$PKG install
# Fix missing symlink for libporttime.so (FS#21528)
ln -s libportmidi.so $PKG/usr/lib/libporttime.so
}