33 lines
896 B
Bash
33 lines
896 B
Bash
# Template file for 'memcached'
|
|
pkgname=memcached
|
|
version=1.6.10
|
|
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=ef46ac33c55d3a0f1c5ae8eb654677d84669913997db5d0c422c5eaffd694a92
|
|
|
|
# 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
|
|
}
|
|
}
|