1
0

Makefile 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= tor
  5. PKG_VERSION:= 0.2.1.20
  6. PKG_RELEASE:= 1
  7. PKG_BUILDDEP+= libevent openssl zlib
  8. PKG_MD5SUM:= 0d62ee2332fdd95de43debac7435df19
  9. PKG_DESCR:= An anonymous Internet communication system
  10. PKG_SECTION:= net
  11. PKG_DEPENDS:= libevent libopenssl libpthread zlib
  12. PKG_URL:= http://tor.eff.org
  13. PKG_SITES:= http://tor.eff.org/dist/ \
  14. http://ftp.se.linux.org/crypto/tor/ \
  15. http://tor.meulie.net/
  16. include ${TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,TOR,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. CONFIGURE_STYLE:= gnu
  19. CONFIGURE_ENV+= ac_cv_libevent_normal=yes \
  20. ac_cv_libevent_linker_option="" \
  21. ac_cv_libevent_dir="${STAGING_DIR}/usr" \
  22. ac_cv_openssldir="${STAGING_DIR}/usr" \
  23. ac_cv_openssl_linker_option="" \
  24. tor_cv_time_t_signed=yes \
  25. tor_cv_null_is_zero=yes \
  26. tor_cv_unaligned_ok=yes
  27. BUILD_STYLE:= auto
  28. INSTALL_STYLE:= auto
  29. post-install:
  30. ${INSTALL_DIR} ${IDIR_TOR}/usr/bin ${IDIR_TOR}/etc/tor
  31. ${INSTALL_DATA} ./files/torrc ${IDIR_TOR}/etc/tor/
  32. ${CP} ${WRKINST}/usr/bin/tor ${IDIR_TOR}/usr/bin/
  33. include ${TOPDIR}/mk/pkg-bottom.mk