void-packages/srcpkgs/memcached/template

33 lines
908 B
Bash

# Template file for 'memcached'
pkgname=memcached
version=1.6.17
revision=1
build_style=gnu-configure
configure_args="--enable-seccomp"
hostmakedepends="autoconf automake pkg-config"
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="https://memcached.org/files/${pkgname}-${version}.tar.gz"
checksum=2055e373613d8fc21529aff9f0adce3e23b9ce01ba0478d30e7941d9f2bd1224
# 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
}
}