12345678910111213141516171819202122232425262728293031323334353637 |
- # This file is part of the OpenADK project. OpenADK is copyrighted
- # material, please see the LICENCE file in the top-level directory.
- include ${TOPDIR}/rules.mk
- PKG_NAME:= tor
- PKG_VERSION:= 0.2.3.25
- PKG_RELEASE:= 3
- PKG_MD5SUM:= a1c364189a9a66ed9daa8e6436489daf
- PKG_DESCR:= An anonymous Internet communication system
- PKG_SECTION:= proxy
- PKG_DEPENDS:= libevent libopenssl zlib libpthread
- PKG_BUILDDEP:= libevent openssl zlib
- PKG_URL:= http://tor.eff.org/
- PKG_SITES:= http://tor.eff.org/dist/
- include ${TOPDIR}/mk/package.mk
- $(eval $(call PKG_template,TOR,tor,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
- CONFIGURE_ENV+= ac_cv_libevent_normal=yes \
- ac_cv_libevent_linker_option="" \
- ac_cv_libevent_dir="${STAGING_TARGET_DIR}/usr" \
- ac_cv_openssldir="${STAGING_TARGET_DIR}/usr" \
- ac_cv_openssl_linker_option="" \
- tor_cv_time_t_signed=yes \
- tor_cv_null_is_zero=yes \
- tor_cv_unaligned_ok=yes
- CONFIGURE_ARGS+= --disable-gcc-hardening
- tor-install:
- ${INSTALL_DIR} ${IDIR_TOR}/usr/bin ${IDIR_TOR}/etc/tor
- ${INSTALL_DATA} ./files/torrc ${IDIR_TOR}/etc/tor/
- ${CP} ${WRKINST}/usr/bin/tor ${IDIR_TOR}/usr/bin/
- include ${TOPDIR}/mk/pkg-bottom.mk
|