# Template file for 'wineasio'
pkgname=wineasio
version=0.9.2
revision=2
nonfree="yes"
only_for_archs=i686
wrksrc=${pkgname}
homepage="http://sourceforge.net/projects/wineasio"
makedepends="wine>=1.6 wine-devel>=1.6 jack-devel"
depends="jack"
short_desc="JACK driver for WINE to provide Windows Apps with ASIO support"
maintainer="davehome <davehome@redthumb.info.tm>"
license="LGPL"
distfiles="${SOURCEFORGE_SITE}/wineasio/${pkgname}-${version}.tar.gz"
checksum=9fbc2d10a4cec307dc0558bed82b887c864424d16da40a80f1d80f907d92af0b

do_build() {
	local url="http://redthumb.info.tm/asio.h"
	msg_normal " Fetching ${url} ...\n"
	$XBPS_FETCH_CMD ${url}
	make clean
	make ${makejobs}
}

do_install() {
	vinstall wineasio.dll.so 755 usr/lib/wine
}
