void-packages/srcpkgs/memcached/template

28 lines
751 B
Bash

# Template file for 'memcached'
pkgname=memcached
version=1.5.9
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.eu>"
license="BSD-3-Clause"
homepage="http://www.memcached.org"
changelog=https://github.com/memcached/memcached/wiki/ReleaseNotes
distfiles="http://memcached.org/files/${pkgname}-${version}.tar.gz"
checksum=4af3577dbf71cb0a748096dc6562ccd587cddb7565c720f1fdb23e8a34241d06
post_install() {
vlicense COPYING LICENSE
}
memcached-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
}
}