void-packages/srcpkgs/memcached/template
2021-02-16 16:53:23 -03:00

32 lines
895 B
Bash

# Template file for 'memcached'
pkgname=memcached
version=1.6.9
revision=1
build_style=gnu-configure
configure_args="--enable-seccomp"
hostmakedepends="autoconf automake"
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=d5a62ce377314dbffdb37c4467e7763e3abae376a16171e613cbe69956f092d1
# Rebuild configure script, due to patching configure.ac
pre_configure() {
autoreconf -fi
}
post_install() {
vlicense COPYING LICENSE
}
memcached-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
}
}