New package: vkeybd-0.1.18d.

Closes: #12294 [via git-merge-pr]
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Casper Ti. Vector 2018-01-12 16:31:44 +08:00 committed by Jürgen Buchmüller
parent 2c78bd4fa4
commit b4eb3354d7
No known key found for this signature in database
GPG Key ID: 6764EC32352D0647

25
srcpkgs/vkeybd/template Normal file
View File

@ -0,0 +1,25 @@
# Template file for 'vkeybd'
pkgname=vkeybd
version=0.1.18d
revision=1
wrksrc=$pkgname
hostmakedepends="tcl"
makedepends="alsa-lib-devel tk-devel"
short_desc="A virtual MIDI keyboard for X"
maintainer="Casper Ti. Vector <caspervector@gmail.com>"
license="GPL-2"
homepage="http://www.alsa-project.org/~iwai/alsa.html"
distfiles="http://ftp.suse.com/pub/people/tiwai/$pkgname/$pkgname-$version.tar.bz2"
checksum=aa683ed57592489e05fdd898368abe3ee245a4d5829385cfe5edb81764590704
configure_args="PREFIX=/usr USE_ALSA=1 USE_AWE=0 USE_MIDI=0"
do_build() {
echo 'puts [info tclversion]' | tclsh > tcl-ver
export configure_args+=" TCL_VERSION=\"$(cat tcl-ver)\""
make CC="$CC" COPTFLAGS="$CFLAGS" ${configure_args} ${makejobs}
}
do_install() {
make ${configure_args} DESTDIR="$DESTDIR" install-all
vdoc README
}