Makefile 997 B

1234567891011121314151617181920212223242526272829303132
  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:= socat
  5. PKG_VERSION:= 1.7.0.0
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 82967132b5a8ca4d07e54370fdcb2662
  8. PKG_DESCR:= A multipurpose relay (SOcket CAT)
  9. PKG_SECTION:= net
  10. PKG_DEPENDS:= libpthread libopenssl
  11. PKG_BUILDDEP+= openssl
  12. PKG_URL:= http://www.dest-unreach.org/socat
  13. PKG_SITES:= http://www.dest-unreach.org/socat/download/
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,SOCAT,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_ENV+= sc_cv_termios_ispeed="no" \
  17. sc_cv_sys_crdly_shift=9 \
  18. sc_cv_sys_tabdly_shift=11 \
  19. sc_cv_sys_csize_shift=4
  20. CONFIGURE_ARGS+= --disable-libwrap \
  21. --disable-readline
  22. post-install:
  23. ${INSTALL_DIR} ${IDIR_SOCAT}/usr/bin
  24. ${INSTALL_BIN} ${WRKINST}/usr/bin/socat ${IDIR_SOCAT}/usr/bin/
  25. include ${TOPDIR}/mk/pkg-bottom.mk