python3: update to 3.11.10
[openadk.git] / package / libevent / Makefile
blob68094dd2fd505c81bd937c5143fefc6ba8ceb808
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= libevent
7 PKG_VERSION:= 2.1.12
8 PKG_RELEASE:= 1
9 PKG_HASH:= 92e6de1be9ec176428fd2367677e61ceffc2ee1cb119035037a27d346b0403bb
10 PKG_DESCR:= event notification library for event-driven network servers
11 PKG_SECTION:= libs/net
12 PKG_URL:= http://libevent.org/
13 PKG_SITES:= https://github.com/libevent/libevent/releases/download/release-$(PKG_VERSION)-stable/
14 PKG_OPTS:= dev
16 DISTFILES:= $(PKG_NAME)-$(PKG_VERSION)-stable.tar.gz
17 WRKDIST= $(WRKDIR)/$(PKG_NAME)-$(PKG_VERSION)-stable
19 include $(ADK_TOPDIR)/mk/package.mk
21 $(eval $(call PKG_template,LIBEVENT,libevent,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
23 ifeq ($(ADK_TARGET_USE_STATIC_LIBS_ONLY),y)
24 MAKE_FLAGS+= LDFLAGS="$(TARGET_LDFLAGS) -all-static"
25 endif
27 CONFIGURE_ARGS+= --disable-openssl
29 libevent-install:
30 $(INSTALL_DIR) $(IDIR_LIBEVENT)/usr/lib
31 $(CP) $(WRKINST)/usr/lib/libevent*.so* $(IDIR_LIBEVENT)/usr/lib
33 include ${ADK_TOPDIR}/mk/pkg-bottom.mk