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
:= 71c2c49f0adadacfdbe6332a372c38cf9c8b7895bb73dabeaa53cdcc1d4e1fa3
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"
28 $(INSTALL_DIR
) $(IDIR_LIBEVENT
)/usr
/lib
29 $(CP
) $(WRKINST
)/usr
/lib
/libevent
*.so
* $(IDIR_LIBEVENT
)/usr
/lib
31 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk