void-packages/srcpkgs/memcached/template

27 lines
767 B
Bash

# Template file for 'memcached'
pkgname=memcached
version=1.5.16
revision=1
build_style=gnu-configure
configure_args="--enable-seccomp"
makedepends="libevent-devel libseccomp-devel"
short_desc="Distributed memory object caching system"
maintainer="Orphaned <orphan@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=45a22c890dc1edb27db567fb4c9c25b91bfd578477c08c5fb10dca93cc62cc5a
post_install() {
vlicense COPYING LICENSE
}
memcached-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
}
}