2014-12-14 23:48:10 +01:00
|
|
|
#
|
2016-04-28 09:58:06 +02:00
|
|
|
# Copyright (C) 2007-2016 OpenWrt.org
|
2014-12-14 23:48:10 +01:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
2016-05-16 00:03:33 +02:00
|
|
|
# NOTE: please DO NOT update this package without the maintainer's consent.
|
|
|
|
# See https://github.com/haiwen/seafile/issues/1119
|
|
|
|
|
2014-12-14 23:48:10 +01:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=libevhtp
|
2019-05-07 23:17:27 +02:00
|
|
|
PKG_VERSION:=1.2.0
|
2019-05-14 21:39:31 +02:00
|
|
|
PKG_RELEASE:=2
|
2019-05-22 14:10:25 +02:00
|
|
|
# This package is building a static library, used by seafile-server
|
|
|
|
# Every time the built library changes (metadata changes are exempt),
|
|
|
|
# seafile-server needs a release bump to ensure the update is used.
|
2014-12-14 23:48:10 +01:00
|
|
|
|
2018-11-06 20:35:21 +01:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=https://codeload.github.com/criticalstack/libevhtp/tar.gz/$(PKG_VERSION)?
|
2019-05-07 23:17:27 +02:00
|
|
|
PKG_HASH:=d8d98072693f5f68ccd74d327dedfa2f6add4446ac2799689c2f58dd480aa301
|
|
|
|
|
|
|
|
PKG_MAINTAINER:=
|
|
|
|
PKG_LICENSE:=BSD-3-Clause
|
|
|
|
PKG_LICENSE_FILES:=LICENSE
|
2015-02-22 02:37:56 +01:00
|
|
|
|
2019-05-07 23:17:27 +02:00
|
|
|
CMAKE_INSTALL:=1
|
2014-12-14 23:48:10 +01:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2019-05-07 23:17:27 +02:00
|
|
|
include $(INCLUDE_DIR)/cmake.mk
|
2014-12-14 23:48:10 +01:00
|
|
|
|
|
|
|
define Package/libevhtp
|
|
|
|
SECTION:=libs
|
|
|
|
CATEGORY:=Libraries
|
|
|
|
TITLE:=A more flexible replacement for libevent's httpd API
|
2019-05-07 23:17:27 +02:00
|
|
|
URL:=https://github.com/criticalstack/libevhtp
|
|
|
|
DEPENDS:=+libevent2 +libevent2-openssl +libevent2-pthreads
|
2014-12-14 23:48:10 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/libevhtp/description
|
|
|
|
Libevhtp was created as a replacement API for Libevent's current HTTP API.
|
|
|
|
The reality of libevent's http interface is that it was created as a JIT server,
|
|
|
|
meaning the developer never thought of it being used for creating a full-fledged HTTP service.
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,libevhtp))
|