aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/libevent2/Makefile
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2018-08-17 13:31:48 -0700
committerHauke Mehrtens <hauke@hauke-m.de>2018-08-25 13:18:35 +0200
commit3ccc2ebe01c179cb48b04e812ff15d16fdaf711b (patch)
treea97eaee20b803aae585410bb384cc734bb83db5d /package/libs/libevent2/Makefile
parent41faf52b0ffe902381e75a35e886f635321347b5 (diff)
downloadupstream-3ccc2ebe01c179cb48b04e812ff15d16fdaf711b.tar.gz
upstream-3ccc2ebe01c179cb48b04e812ff15d16fdaf711b.tar.bz2
upstream-3ccc2ebe01c179cb48b04e812ff15d16fdaf711b.zip
libevent2: Switch to using release tarball
Starting with version 2.1.8, a release tarball is available. Simplifies the Makefile slightly. Updated the project URL. HTTPS is broken. Issue has been reported upstream Adjusted patches. CMake support is not present in the tarball. It's made for Windows anyway. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'package/libs/libevent2/Makefile')
-rw-r--r--package/libs/libevent2/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/package/libs/libevent2/Makefile b/package/libs/libevent2/Makefile
index 1b1690b103..26100d84bf 100644
--- a/package/libs/libevent2/Makefile
+++ b/package/libs/libevent2/Makefile
@@ -9,12 +9,13 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=libevent2
PKG_VERSION:=2.1.8
-PKG_RELEASE:=1
+PKG_RELEASE:=2
+
+PKG_SOURCE:=libevent-$(PKG_VERSION)-stable.tar.gz
+PKG_SOURCE_URL:=https://github.com/libevent/libevent/releases/download/release-$(PKG_VERSION)-stable
+PKG_HASH:=965cc5a8bb46ce4199a47e9b2c9e1cae3b137e8356ffdad6d94d3b9069b71dc2
+PKG_BUILD_DIR:=$(BUILD_DIR)/libevent-$(PKG_VERSION)-stable
-PKG_SOURCE_PROTO:=git
-PKG_SOURCE_URL:=https://github.com/libevent/libevent.git
-PKG_SOURCE_VERSION:=release-$(PKG_VERSION)-stable
-PKG_HASH:=71c2c49f0adadacfdbe6332a372c38cf9c8b7895bb73dabeaa53cdcc1d4e1fa3
PKG_MAINTAINER:=Jo-Philipp Wich <jo@mein.io>
PKG_LICENSE:=BSD-3-Clause
PKG_CPE_ID:=cpe:/a:libevent_project:libevent
@@ -29,7 +30,7 @@ define Package/libevent2/Default
SECTION:=libs
CATEGORY:=Libraries
TITLE:=Event notification
- URL:=http://www.monkey.org/~provos/libevent/
+ URL:=http://libevent.org
endef
define Package/libevent2/Default/description