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
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
/
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"
27 CONFIGURE_ARGS
+= --disable-openssl
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