void-packages/srcpkgs/vkeybd/template
2021-08-22 17:41:19 +07:00

30 lines
812 B
Bash

# Template file for 'vkeybd'
pkgname=vkeybd
version=0.1.18d
revision=2
wrksrc=$pkgname
hostmakedepends="tcl"
makedepends="alsa-lib-devel tk-devel"
short_desc="Virtual MIDI keyboard for X"
maintainer="Casper Ti. Vector <caspervector@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://github.com/tiwai/vkeybd"
distfiles="http://ftp.suse.com/pub/people/tiwai/$pkgname/$pkgname-$version.tar.bz2"
checksum=aa683ed57592489e05fdd898368abe3ee245a4d5829385cfe5edb81764590704
_run_make() {
local TCL_VERSION
TCL_VERSION=$(echo 'puts [info tclversion]' | tclsh)
make CC="$CC" COPTFLAGS="$CFLAGS" DESTDIR=${DESTDIR} \
PREFIX=/usr USE_ALSA=1 USE_AWE=0 USE_MIDI=0 \
TCL_VERSION=${TCL_VERSION} "$@"
}
do_build() {
_run_make ${makejobs}
}
do_install() {
_run_make DESTDIR=${DESTDIR} install-all
vdoc README
}