void-packages/srcpkgs/rtmidi/template
2017-09-02 00:06:29 +02:00

32 lines
945 B
Bash

# Template file for 'rtmidi'
pkgname=rtmidi
version=3.0.0
revision=1
build_style=gnu-configure
configure_args="--with-alsa --with-jack"
hostmakedepends="automake libtool"
makedepends="alsa-lib-devel jack-devel"
short_desc="C++ classes for realtime MIDI input/output"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="RtMidi, MIT"
homepage="http://www.music.mcgill.ca/~gary/rtmidi/"
distfiles="https://github.com/thestk/rtmidi/archive/v${version}.tar.gz"
checksum=55cd0fba60321aadcd847481d207bf2b70e783b5bfa1a01037bf916554a7d5c4
nocross="https://build.voidlinux.eu/builders/armv7l-musl_builder/builds/4371/steps/shell_3/logs/stdio"
pre_configure() {
sed -i 's/\($cppflag\)/\1 $CFLAGS/' configure.ac
autoreconf -fi
}
rtmidi-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}