2 # Copyright (C) 2010-2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=https
://codeload.github.com
/redis
/hiredis
/tar.gz
/v
$(PKG_VERSION
)?
16 PKG_HASH
:=82ad632d31ee05da13b537c124f819eb88e18851d9cb0c30ae0552084811588c
18 PKG_LICENSE
:=BSD-3-Clause
19 PKG_LICENSE_FILES
:=COPYING
20 PKG_MAINTAINER
:=Daniel Golle
<daniel@makrotopia.org
>
25 include $(INCLUDE_DIR
)/package.mk
26 include $(INCLUDE_DIR
)/cmake.mk
28 define Package
/libhiredis
31 TITLE
:=Minimalistic C client for Redis
32 URL
:=https
://github.com
/redis
/hiredis
35 define Package
/libhiredis
/description
36 Hiredis is a minimalistic C client library for the Redis database.
39 define Package
/libhiredis
/install
40 $(INSTALL_DIR
) $(1)/usr
/lib
/
41 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libhiredis.so
* $(1)/usr
/lib
/
44 $(eval
$(call BuildPackage
,libhiredis
))