# Template file for 'dleyna-core'
pkgname=dleyna-core
version=0.6.0
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="libglib-devel gupnp-devel"
short_desc="Library of utility functions for higher-level dleyna libraries"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="LGPL-2.1-or-later"
homepage="https://01.org/dleyna/"
distfiles="https://github.com/intel/dleyna-core/archive/v${version}.tar.gz"
checksum=e999ef3829837b777d04dc964e564704327533f5401b158ce1da8ab9be5cb61b

pre_configure() {
	autoreconf -fi
}

dleyna-core-devel_package() {
	depends="libglib-devel gupnp-devel dleyna-core-${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.so"
	}
}
