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