# Template file for 'libvisual'.
pkgname=libvisual
version=0.4.0
revision=7
build_style=gnu-configure
hostmakedepends="pkg-config"
short_desc="Abstraction library for audio visualisation plugins"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://sourceforge.net/projects/libvisual/"
license="LGPL-2.1"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=0b4dfdb87125e129567752089e3c8b54cefed601eef169d2533d8659da8dc1d7

pre_configure() {
	sed -e 's,-L$(libdir),,' -i libvisual/Makefile.in
}

libvisual-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.so"
	}
}
