1 include $(TOPDIR
)/rules.mk
7 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
8 PKG_SOURCE_URL
:=http
://credis.googlecode.com
/files
/
9 PKG_MD5SUM
:=bbc498beb22b8590005520405766cf6e
11 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)
13 include $(INCLUDE_DIR
)/package.mk
18 TITLE
:=C library for communicating with Redis servers.
19 URL
:=http
://code.google.com
/p
/credis
22 define Package
/credis
/description
23 Credis is a client library in plain C for communicating with Redis
24 servers. Redis is a high performance key-value database
, refer to
25 Redis project page for more information. Credis aims to be fast
26 and minimalistic with respect to memory usage. It supports
27 connections to multiple Redis servers.
31 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
33 CFLAGS
='$(TARGET_CFLAGS)' \
34 LDFLAGS
='$(TARGET_LDFLAGS)' \
35 AR
='$(TARGET_CROSS)ar' \
39 define Build
/InstallDev
40 $(INSTALL_DIR
) $(1)/usr
/include
41 $(CP
) $(PKG_BUILD_DIR
)/credis.h
$(1)/usr
/include/credis.h
42 $(INSTALL_DIR
) $(1)/usr
/lib
43 $(CP
) $(PKG_BUILD_DIR
)/libcredis.
{a
,so
*} $(1)/usr
/lib
/
46 define Package
/credis
/install
47 $(INSTALL_DIR
) $(1)/usr
/lib
48 $(CP
) $(PKG_BUILD_DIR
)/libcredis.so
$(1)/usr
/lib
51 $(eval
$(call BuildPackage
,credis
))