libevent.mk 656 B

1234567891011121314151617181920212223
  1. #############################################################
  2. #
  3. # libevent
  4. #
  5. #############################################################
  6. LIBEVENT_VERSION = 1.4.12
  7. LIBEVENT_SOURCE = libevent-$(LIBEVENT_VERSION)-stable.tar.gz
  8. LIBEVENT_SITE = http://monkey.org/~provos/
  9. LIBEVENT_AUTORECONF = NO
  10. LIBEVENT_LIBTOOL_PATCH = NO
  11. LIBEVENT_INSTALL_STAGING = YES
  12. LIBEVENT_INSTALL_TARGET = YES
  13. $(eval $(call AUTOTARGETS,package,libevent))
  14. ifneq ($(BR2_PACKAGE_PYTHON),y)
  15. # libevent installs a python script to target - get rid of it if
  16. # we don't have python support enabled
  17. $(LIBEVENT_HOOK_POST_INSTALL):
  18. rm $(TARGET_DIR)/usr/bin/event_rpcgen.py
  19. touch $@
  20. endif