xfsprogs: update to 4.13.1
[openadk.git] / package / libevent / Makefile
blobbb3ae87d7800ed7efae4cdc4201dbf4cd0b43c4e
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.0.22
8 PKG_RELEASE:= 1
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/
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 libevent-install:
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