wok-next view redis/receipt @ rev 17869

Use VERSION variable
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 26 09:34:19 2015 +0100 (2015-03-26)
parents e3b4cecb15e5
children 2f03cb67a994
line source
1 # SliTaz package receipt.
3 PACKAGE="redis"
4 VERSION="2.8.19"
5 CATEGORY="database"
6 SHORT_DESC="Redis is an open source, BSD licensed, advanced key-value cache and store"
7 MAINTAINER="nneul@neulinger.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://redis.io/"
11 WGET_URL="http://download.redis.io/releases/$TARBALL"
12 TAGS="database"
13 BUILD_DEPENDS="libxslt"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 make PREFIX=/usr
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/bin
25 mkdir -p $fs/etc
26 cp -a $src/src/redis-cli $fs/usr/bin
27 cp -a $src/src/redis-server $fs/usr/bin
28 cp -a $src/src/redis-benchmark $fs/usr/bin
29 cp -a $src/src/redis-check-dump $fs/usr/bin
30 cp -a $src/src/redis-check-aof $fs/usr/bin
31 cp -a $src/redis.conf $fs/etc
32 }