# Template file for 'liblo'
pkgname=liblo
version=0.28
revision=1
build_style=gnu-configure
configure_args="--enable-ipv6"
short_desc="Lightweight OSC implementation"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://plugin.org.uk/liblo/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=da94a9b67b93625354dd89ff7fe31e5297fc9400b6eaf7378c82ee1caf7db909

pre_configure() {
	sed -i '/-Werror/d' configure
}

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