sdb: update to 0.6.2 with a patch for cross builds.

This commit is contained in:
Juan RP 2013-05-10 10:44:18 +02:00
parent 8b92232efb
commit dd6d0f39e8
3 changed files with 35 additions and 7 deletions

View File

@ -1259,3 +1259,4 @@ libagg.so.2 agg-2.5_1
libzzip-0.so.13 zziplib-0.13.62_1
libdb-5.3.so libdb-5.3.21_1
libdb_cxx-5.3.so libdb-cxx-5.3.21_1
libsdb.so.0 sdb-0.6.2_1

View File

@ -0,0 +1,25 @@
From 6382af6ca14bdcb9db8895c735f201d3d1273253 Mon Sep 17 00:00:00 2001
From: Juan RP <xtraeme@gmail.com>
Date: Fri, 10 May 2013 10:40:22 +0200
Subject: [PATCH] memcache/Makefile: use HOST_CFLAGS in the cmds.o target.
---
memcache/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/memcache/Makefile b/memcache/Makefile
index 29fef47..7b52ef0 100644
--- memcache/Makefile
+++ memcache/Makefile
@@ -39,7 +39,7 @@ endif
${CC} -o ${BIN} ${OBJS} ${LDFLAGS} ${LIBS}
cmds.h: cmds.o
- ${HOST_CC} -o cmds ../src/util.c cmds.c ${CPPFLAGS} ${CFLAGS} ${LDFLAGS}
+ ${HOST_CC} -o cmds ../src/util.c cmds.c ${CPPFLAGS} -I../src ${HOST_CFLAGS} ${LDFLAGS}
./cmds > cmds.h
clean:
--
1.8.2.2

View File

@ -1,24 +1,26 @@
# Template file for 'sdb'
pkgname=sdb
version=0.5
version=0.6.2
revision=1
build_style=gnu-makefile
short_desc="Simple key-value database with JSON support"
maintainer="pancake <pancake@nopcode.org>"
license="LGPL-3"
homepage="https://github.com/radare/sdb"
distfiles="https://github.com/radare/sdb/archive/$pkgname-$version.tar.gz"
checksum=ed3225e4a6c88cc3c31c80dff6faa74c2a861aa0db1dce37db0e97a6fec595fa
distfiles="https://github.com/radare/sdb/archive/${version}.tar.gz"
checksum=ba283a42af4e6ab679ee445bba62cf8620ca28315ca11678926a9229625be1f0
long_desc="
sdb is a simple key/value database with disk storage. mcsdbd is a memcache
server with disk storage based on sdb. sdbtypes is a vala library that
implements several data structures on top of an sdb or memcache instance."
makedepends="vala-devel"
create_srcdir=yes
build_style=gnu-makefile
hostmakedepends="pkg-config"
makedepends="libglib-devel vala-devel"
sdb-devel_package() {
depends="vala sdb>=${version}"
short_desc="${short_desc} -- development files"
depends="sdb>=${version}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share