# Template file for 'memcached'
pkgname=memcached
version=1.5.1
revision=1
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://memcached.org/files/${pkgname}-${version}.tar.gz"
checksum=a87908936b51d1bd3ef10a2347eef5647f003b63407a5d8161fa7928b1cd6b5c

post_install() {
	vlicense COPYING LICENSE
}

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

