Closes: #12294 [via git-merge-pr] Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
25 lines
810 B
Bash
25 lines
810 B
Bash
# 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
|
|
}
|