xref: /OK3568_Linux_fs/buildroot/package/libev/libev.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1################################################################################
2#
3# libev
4#
5################################################################################
6
7LIBEV_VERSION = 4.27
8LIBEV_SITE = http://dist.schmorp.de/libev/Attic
9LIBEV_INSTALL_STAGING = YES
10LIBEV_LICENSE = BSD-2-Clause or GPL-2.0+
11LIBEV_LICENSE_FILES = LICENSE
12
13# The 'compatibility' event.h header conflicts with libevent
14# It's completely unnecessary for BR packages so remove it
15define LIBEV_DISABLE_EVENT_H_INSTALL
16	$(SED) 's/ event.h//' $(@D)/Makefile.in
17endef
18LIBEV_POST_PATCH_HOOKS += LIBEV_DISABLE_EVENT_H_INSTALL
19
20$(eval $(autotools-package))
21$(eval $(host-autotools-package))
22