2007-01-14 06:38:00 +01:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# libevent
|
|
|
|
#
|
|
|
|
#############################################################
|
2011-10-06 22:35:32 +02:00
|
|
|
LIBEVENT_VERSION = 2.0.14
|
2009-08-11 17:35:23 +02:00
|
|
|
LIBEVENT_SOURCE = libevent-$(LIBEVENT_VERSION)-stable.tar.gz
|
2011-10-06 22:35:32 +02:00
|
|
|
LIBEVENT_SITE = https://github.com/downloads/libevent/libevent
|
2007-01-14 06:38:00 +01:00
|
|
|
|
2009-08-11 17:35:23 +02:00
|
|
|
LIBEVENT_AUTORECONF = NO
|
|
|
|
LIBEVENT_INSTALL_STAGING = YES
|
|
|
|
LIBEVENT_INSTALL_TARGET = YES
|
2007-01-14 06:38:00 +01:00
|
|
|
|
2010-09-01 17:13:56 +02:00
|
|
|
define LIBEVENT_REMOVE_PYSCRIPT
|
|
|
|
rm $(TARGET_DIR)/usr/bin/event_rpcgen.py
|
|
|
|
endef
|
2009-09-19 21:31:57 +02:00
|
|
|
|
2010-09-01 17:13:56 +02:00
|
|
|
# libevent installs a python script to target - get rid of it if we
|
|
|
|
# don't have python support enabled
|
2009-09-19 21:31:57 +02:00
|
|
|
ifneq ($(BR2_PACKAGE_PYTHON),y)
|
2010-09-01 17:13:56 +02:00
|
|
|
LIBEVENT_POST_INSTALL_TARGET_HOOKS += LIBEVENT_REMOVE_PYSCRIPT
|
2009-09-19 21:31:57 +02:00
|
|
|
endif
|
2010-09-01 17:13:56 +02:00
|
|
|
|
2011-09-29 21:57:43 +02:00
|
|
|
$(eval $(call AUTOTARGETS))
|