void-packages/srcpkgs/libmemcached/template

35 lines
882 B
Bash

# Template build file for 'libmemcached'
pkgname=libmemcached
version=1.0.18
revision=3
build_style=gnu-configure
configure_args="--prefix=/usr"
short_desc="C/C++ library to memcached"
maintainer="John Regan <john@jrjrtech.com>"
license="BSD"
homepage="http://libmemcached.org"
distfiles="http://launchpad.net/${pkgname}/1.0/${version}/+download/${pkgname}-${version}.tar.gz"
checksum="e22c0bb032fde08f53de9ffbc5a128233041d9f33b5de022c0978a2149885f82"
makedepends="libevent-devel libsasl-devel memcached-devel"
hostmakedepends="perl"
nocross="yes"
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"
}
}