2007-01-14 06:38:00 +01:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# libevent
|
|
|
|
#
|
|
|
|
#############################################################
|
2009-08-11 17:35:23 +02:00
|
|
|
LIBEVENT_VERSION = 1.4.12
|
|
|
|
LIBEVENT_SOURCE = libevent-$(LIBEVENT_VERSION)-stable.tar.gz
|
|
|
|
LIBEVENT_SITE = http://monkey.org/~provos/
|
2007-01-14 06:38:00 +01:00
|
|
|
|
2009-08-11 17:35:23 +02:00
|
|
|
LIBEVENT_AUTORECONF = NO
|
|
|
|
LIBEVENT_LIBTOOL_PATCH = NO
|
|
|
|
LIBEVENT_INSTALL_STAGING = YES
|
|
|
|
LIBEVENT_INSTALL_TARGET = YES
|
2007-01-14 06:38:00 +01:00
|
|
|
|
2009-08-11 17:35:23 +02:00
|
|
|
$(eval $(call AUTOTARGETS,package,libevent))
|
2009-09-19 21:31:57 +02:00
|
|
|
|
|
|
|
ifneq ($(BR2_PACKAGE_PYTHON),y)
|
|
|
|
# libevent installs a python script to target - get rid of it if
|
|
|
|
# we don't have python support enabled
|
|
|
|
$(LIBEVENT_HOOK_POST_INSTALL):
|
|
|
|
rm $(TARGET_DIR)/usr/bin/event_rpcgen.py
|
|
|
|
touch $@
|
|
|
|
endif
|