void-packages/srcpkgs/memcached/template

28 lines
768 B
Bash

# Template file for 'memcached'
pkgname=memcached
version=1.5.11
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${version//./}"
distfiles="http://memcached.org/files/${pkgname}-${version}.tar.gz"
checksum=697a91f8455865ca2625713c6ec56cb5f6b9541778f61d08bf34f0a131a2582a
post_install() {
vlicense COPYING LICENSE
}
memcached-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
}
}