Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  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:= ssltunnel
  5. PKG_VERSION:= 1.16
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 4039b50566a33a4077883ea974e476d5
  8. PKG_DESCR:= A PPP over SSL vpn tool
  9. PKG_SECTION:= net/security
  10. PKG_DEPENDS:= libopenssl ppp
  11. PKG_BUILDDEP+= openssl ppp
  12. PKG_SITES:= http://www.hsc.fr/ressources/outils/ssltunnel/download/
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,SSLTUNNEL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIGURE_ENV+= BUILD_CC="${TARGET_CC}"
  16. XAKE_FLAGS+= CCOPT="${TARGET_CFLAGS}" INCLS="-I. -I${STAGING_DIR}/usr/include"
  17. post-install:
  18. ${INSTALL_DIR} ${IDIR_SSLTUNNEL}/usr/bin
  19. ${INSTALL_DIR} ${IDIR_SSLTUNNEL}/usr/sbin
  20. ${INSTALL_DIR} ${IDIR_SSLTUNNEL}/usr/libexec
  21. ${INSTALL_BIN} ${WRKINST}/usr/bin/pppclient \
  22. ${IDIR_SSLTUNNEL}/usr/bin/
  23. ${INSTALL_BIN} ${WRKINST}/usr/sbin/pppwho \
  24. ${IDIR_SSLTUNNEL}/usr/sbin/
  25. ${INSTALL_BIN} ${WRKINST}/usr/libexec/pppserver \
  26. ${IDIR_SSLTUNNEL}/usr/libexec/
  27. include ${TOPDIR}/mk/pkg-bottom.mk