wok-current view memcached/receipt @ rev 25685

Add checkspace / fetchall feature for tazpkg
author Stanislas Leduc <shann@slitaz.org>
date Thu Mar 14 20:28:39 2024 +0000 (8 months ago)
parents 83b97236db32
children
line source
1 # SliTaz package receipt.
3 PACKAGE="memcached"
4 VERSION="1.6.15"
5 CATEGORY="system-tools"
6 SHORT_DESC="High-performance, distributed memory object caching system."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://memcached.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}files/$TARBALL"
14 DEPENDS="libevent"
15 BUILD_DEPENDS="libevent-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed '/id="ver"/!d;s|.*>v||;s|<.*||'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure $CONFIGURE_ARGS &&
28 make &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cook_copy_folders bin
36 }