Makefile 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  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_BUILDDEP+= openssl
  8. PKG_MD5SUM:= 82967132b5a8ca4d07e54370fdcb2662
  9. PKG_DESCR:= A multipurpose relay (SOcket CAT)
  10. PKG_SECTION:= net
  11. PKG_DEPENDS:= libpthread libopenssl
  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_STYLE:= gnu
  17. CONFIGURE_ENV+= sc_cv_termios_ispeed="no" \
  18. sc_cv_sys_crdly_shift=9 \
  19. sc_cv_sys_tabdly_shift=11 \
  20. sc_cv_sys_csize_shift=4
  21. CONFIGURE_ARGS+= --disable-libwrap \
  22. --disable-readline
  23. BUILD_STYLE:= auto
  24. INSTALL_STYLE:= auto
  25. post-install:
  26. ${INSTALL_DIR} ${IDIR_SOCAT}/usr/bin
  27. ${INSTALL_BIN} ${WRKINST}/usr/bin/socat ${IDIR_SOCAT}/usr/bin/
  28. include ${TOPDIR}/mk/pkg-bottom.mk