void-packages/srcpkgs/osmid/template
Jürgen Buchmüller 643c59acb9
osmid: update to 0.6.7
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2019-06-19 07:24:54 +02:00

30 lines
819 B
Bash

# Template file for 'osmid'
pkgname=osmid
version=0.6.7
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=437d4fc8e275d2b58dbe80fae048d1efd88863a127b17ea01febb9d4b031371e
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
}