Makefile 1.1 KB

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