2014-07-12 00:13:13 +00:00
|
|
|
# Template build for 'portmidi'.
|
|
|
|
pkgname=portmidi
|
|
|
|
version=217
|
|
|
|
revision=1
|
|
|
|
short_desc="real-time input and output of MIDI data"
|
|
|
|
hostmakedepends="cmake unzip"
|
|
|
|
maintainer="Enno Boland <eb@s01.de>"
|
|
|
|
license="GPL"
|
|
|
|
homepage="http://portmedia.sourceforge.net/"
|
2014-11-27 08:05:50 +00:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/portmedia/${pkgname}/${version}/${pkgname}-src-${version}.zip"
|
2014-07-12 00:13:13 +00:00
|
|
|
checksum="08e9a892bd80bdb1115213fb72dc29a7bf2ff108b378180586aa65f3cfd42e0f"
|
|
|
|
makedepends="alsa-lib-devel"
|
|
|
|
build_style=cmake
|
|
|
|
wrksrc=$pkgname
|
|
|
|
configure_args="-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DPORTMIDI_ENABLE_JAVA=OFF \
|
|
|
|
-DCMAKE_ARCHIVE_OUTPUT_DIRECTORY=Release \
|
|
|
|
-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=Release \
|
|
|
|
-DCMAKE_RUNTIME_OUTPUT_DIRECTORY=Release"
|
|
|
|
|
|
|
|
portmidi-devel_package() {
|
|
|
|
depends="portmidi>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
}
|
|
|
|
}
|