# Template file for 'libepc'
pkgname=libepc
version=0.4.4
revision=2
build_style=gnu-configure
makedepends="pkg-config intltool gtk+3-devel libsoup-devel avahi-glib-libs-devel
 avahi-ui-libs-devel gnutls-devel>=3.1.5 libuuid-devel"
short_desc="Easy Publish and Consume Library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://live.gnome.org/libepc"
distfiles="${GNOME_SITE}/$pkgname/0.4/$pkgname-$version.tar.xz"
checksum=4f98fc306c0f9d361e1381484744246efd084053732924741078270c49afc33b
long_desc="
 The Easy Publish and Consume library provides an easy method to:

  * publish data using HTTPS: EpcPublisher
  * announce that information via DNS-SD: EpcDispatcher
  * find that information: EpcConsumer
  * and finally consume it

 You can use this library as a key/value store published to the network,
 using encryption, authentication and service discovery."

libepc-devel_package() {
	depends="gtk+3-devel avahi-glib-libs-devel libsoup-devel libepc>=${version}"
	short_desc="${short_desc} - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/share/gtk-doc
		vmove usr/lib/pkgconfig
	}
}

libepc_package() {
	pkg_install() {
		vmove usr
	}
}