# HG changeset patch # User Nathan Neulinger # Date 1427332985 0 # Node ID e3b4cecb15e56430af8959bf1f312f99db591174 # Parent ed38082314733d2a62a34eb0449f3a7011ab0bd8 Add: redis diff -r ed3808231473 -r e3b4cecb15e5 redis/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/redis/receipt Thu Mar 26 01:23:05 2015 +0000 @@ -0,0 +1,34 @@ +# SliTaz package receipt. + +PACKAGE="redis" +VERSION="2.8.19" +CATEGORY="database" +SHORT_DESC="Redis is an open source, BSD licensed, advanced key-value cache and store" +MAINTAINER="nneul@neulinger.org" +LICENSE="BSD" +TARBALL="redis-2.8.19.tar.gz" +WEB_SITE="http://redis.io/" +WGET_URL="http://download.redis.io/releases/redis-2.8.19.tar.gz" +TAGS="database" +BUILD_DEPENDS="libxslt" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + make PREFIX=/usr +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin + mkdir -p $fs/etc + cp -a $src/src/redis-cli $fs/usr/bin + cp -a $src/src/redis-server $fs/usr/bin + cp -a $src/src/redis-benchmark $fs/usr/bin + cp -a $src/src/redis-check-dump $fs/usr/bin + cp -a $src/src/redis-check-aof $fs/usr/bin + cp -a $src/redis.conf $fs/etc +} +