void-packages/srcpkgs/memcached/template

27 lines
769 B
Bash

# Template file for 'memcached'
pkgname=memcached
version=1.5.12
revision=1
build_style=gnu-configure
configure_args="--enable-seccomp"
makedepends="libevent-devel libseccomp-devel"
short_desc="A distributed memory object caching system"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="BSD-3-Clause"
homepage="http://www.memcached.org"
changelog="https://github.com/memcached/memcached/wiki/ReleaseNotes${version//./}"
distfiles="http://memcached.org/files/${pkgname}-${version}.tar.gz"
checksum=c02f97d5685617b209fbe25f3464317b234d765b427d254c2413410a5c095b29
post_install() {
vlicense COPYING LICENSE
}
memcached-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
}
}