mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
50 lines
1.1 KiB
Bash
50 lines
1.1 KiB
Bash
SUMMARY="Advanced key-value store"
|
|
DESCRIPTION="Redis is an open source, advanced key-value store. It is often \
|
|
referred to as a data structure server since keys can contain strings, hashes,\
|
|
lists, sets and sorted sets."
|
|
HOMEPAGE="https://redis.io/"
|
|
COPYRIGHT="2006-2010 Salvatore Sanfilippo"
|
|
LICENSE="BSD (3-clause)"
|
|
REVISION="1"
|
|
SOURCE_URI="http://download.redis.io/releases/redis-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="6624841267e142c5d5d5be292d705f8fb6070677687c5aad1645421a936d22b3"
|
|
PATCHES="redis-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
redis$secondaryArchSuffix = $portVersion
|
|
cmd:redis_benchmark
|
|
cmd:redis_check_aof
|
|
cmd:redis_check_rdb
|
|
cmd:redis_cli
|
|
cmd:redis_sentinel
|
|
cmd:redis_server
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:awk
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
make LDFLAGS="-lnetwork -lbsd"
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make INSTALL_BIN=$prefix/bin install
|
|
}
|