2015-06-24 16:03:45 +02:00
|
|
|
#
|
|
|
|
# Copyright (C) 2010-2015 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=hiredis
|
2023-12-20 03:24:47 +01:00
|
|
|
PKG_VERSION:=1.2.0
|
2021-11-15 03:00:35 +01:00
|
|
|
PKG_RELEASE:=1
|
2015-06-24 16:03:45 +02:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2018-07-31 01:25:26 +02:00
|
|
|
PKG_SOURCE_URL:=https://codeload.github.com/redis/hiredis/tar.gz/v$(PKG_VERSION)?
|
2023-12-20 03:24:47 +01:00
|
|
|
PKG_HASH:=82ad632d31ee05da13b537c124f819eb88e18851d9cb0c30ae0552084811588c
|
2015-06-24 16:03:45 +02:00
|
|
|
|
|
|
|
PKG_LICENSE:=BSD-3-Clause
|
|
|
|
PKG_LICENSE_FILES:=COPYING
|
2024-02-02 18:37:33 +01:00
|
|
|
PKG_CPE_ID:=cpe:/a:redis:hiredis
|
2015-06-24 16:03:45 +02:00
|
|
|
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
|
|
|
|
|
2018-10-08 22:47:18 +02:00
|
|
|
PKG_BUILD_PARALLEL:=1
|
2022-12-19 22:57:03 +01:00
|
|
|
CMAKE_INSTALL:=1
|
2015-06-24 16:03:45 +02:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2022-12-19 22:57:03 +01:00
|
|
|
include $(INCLUDE_DIR)/cmake.mk
|
2015-06-24 16:03:45 +02:00
|
|
|
|
|
|
|
define Package/libhiredis
|
|
|
|
SECTION:=libs
|
|
|
|
CATEGORY:=Libraries
|
|
|
|
TITLE:=Minimalistic C client for Redis
|
|
|
|
URL:=https://github.com/redis/hiredis
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/libhiredis/description
|
|
|
|
Hiredis is a minimalistic C client library for the Redis database.
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/libhiredis/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libhiredis.so* $(1)/usr/lib/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,libhiredis))
|