You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

libevent.mk 795B

123456789101112131415161718192021222324252627282930
  1. package=libevent
  2. $(package)_version=2.1.8-stable
  3. $(package)_download_path=https://github.com/libevent/libevent/archive/
  4. $(package)_file_name=release-$($(package)_version).tar.gz
  5. $(package)_sha256_hash=316ddb401745ac5d222d7c529ef1eada12f58f6376a66c1118eee803cb70f83d
  6. define $(package)_preprocess_cmds
  7. ./autogen.sh
  8. endef
  9. define $(package)_set_vars
  10. $(package)_config_opts=--disable-shared --disable-openssl --disable-libevent-regress --disable-samples
  11. $(package)_config_opts_release=--disable-debug-mode
  12. $(package)_config_opts_linux=--with-pic
  13. endef
  14. define $(package)_config_cmds
  15. $($(package)_autoconf)
  16. endef
  17. define $(package)_build_cmds
  18. $(MAKE)
  19. endef
  20. define $(package)_stage_cmds
  21. $(MAKE) DESTDIR=$($(package)_staging_dir) install
  22. endef
  23. define $(package)_postprocess_cmds
  24. endef