# Template file for 'memcached'
pkgname=memcached
version=1.4.36
revision=2
build_style=gnu-configure
makedepends="libevent-devel"
short_desc="A distributed memory object caching system"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="3-clause-BSD"
homepage="http://www.memcached.org"
distfiles="http://${pkgname}.org/files/${pkgname}-${version}.tar.gz"
checksum=773b6bb20bf80223ca6a15d75f570fbab346ad11ec98595e5af5e33f54bd82d8

post_install() {
	vlicense COPYING LICENSE
}

memcached-devel_package() {
	short_desc+=" - development files"
	depends="${sourcepkg}>=${version}_${revision}"
	pkg_install() {
		vmove usr/include
	}
}

