void-packages/srcpkgs/osmid/template
Jürgen Buchmüller cc13d4c3fd
osmid: update to 0.6.8
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2019-07-24 09:31:35 +02:00

30 lines
819 B
Bash

# Template file for 'osmid'
pkgname=osmid
version=0.6.8
revision=1
build_style=cmake
hostmakedepends="pkg-config"
makedepends="alsa-lib-devel libX11-devel"
short_desc="Tool to convert MIDI to OSC and OSC to MIDI"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="MIT, ISC, GPL-3.0-or-later"
homepage="https://github.com/llloret/osmid/"
distfiles="https://github.com/llloret/osmid/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=bc5dab015ed2a97f85b75f7e9b19931ea6191ac7033c2568a0fa035b817bd173
case "$XBPS_TARGET_MACHINE" in
*-musl) makedepends+=" libexecinfo-devel" ;;
esac
pre_configure() {
case "$XBPS_TARGET_MACHINE" in
*-musl) vsed -i CMakeLists.txt \
-e "/target_link_libraries/s/X11)/X11 execinfo)/"
;;
esac
}
post_install() {
vlicense LICENSE.md
vdoc README.md
}