summaryrefslogtreecommitdiff
path: root/package/libev/libev.mk
blob: cde2ee03863558c8c69454b10deb19670ace72fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
################################################################################
#
# libev
#
################################################################################

LIBEV_VERSION = 4.19
LIBEV_SITE = http://dist.schmorp.de/libev
LIBEV_INSTALL_STAGING = YES
LIBEV_LICENSE = BSD-2c or GPLv2+
LIBEV_LICENSE_FILES = LICENSE

# The 'compatibility' event.h header conflicts with libevent
# It's completely unnecessary for BR packages so remove it
define LIBEV_DISABLE_EVENT_H_INSTALL
	$(SED) 's/ event.h//' $(@D)/Makefile.in
endef
LIBEV_POST_PATCH_HOOKS += LIBEV_DISABLE_EVENT_H_INSTALL

$(eval $(autotools-package))