void-packages/srcpkgs/libmemcached/template

37 lines
909 B
Bash

# Template file for 'libmemcached'
pkgname=libmemcached
version=1.0.18
revision=4
build_style=gnu-configure
configure_args="--prefix=/usr"
hostmakedepends="perl"
makedepends="libevent-devel libsasl-devel memcached-devel"
short_desc="C/C++ library to memcached"
maintainer="John Regan <john@jrjrtech.com>"
license="BSD-3-Clause"
homepage="http://libmemcached.org"
distfiles="http://launchpad.net/${pkgname}/1.0/${version}/+download/${pkgname}-${version}.tar.gz"
checksum=e22c0bb032fde08f53de9ffbc5a128233041d9f33b5de022c0978a2149885f82
post_install() {
vlicense COPYING
}
libmemcached-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}
libmemcached-doc_package() {
short_desc+=" - documentation"
pkg_install() {
vmove usr/share/man
}
}