2015-08-26 17:10:51 +02:00
|
|
|
# Template build file for 'libmemcached'
|
|
|
|
pkgname=libmemcached
|
|
|
|
version=1.0.18
|
2015-09-28 09:30:43 +02:00
|
|
|
revision=2
|
2015-08-26 17:10:51 +02:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-09-28 09:30:43 +02:00
|
|
|
libmemcached-doc_package() {
|
2015-08-26 17:10:51 +02:00
|
|
|
short_desc+=" - documentation"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/share/man"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|