Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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 ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= ssltunnel
  5. PKG_VERSION:= 1.16
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= e801ab170f364ba2997fb276d16eba1f75bffcc0fc5a1e97ff0b247bf63b0570
  8. PKG_DESCR:= 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. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  14. PKG_LIBC_DEPENDS:= uclibc-ng glibc
  15. include ${ADK_TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,SSLTUNNEL,ssltunnel,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIGURE_ENV+= BUILD_CC="${TARGET_CC}"
  18. XAKE_FLAGS+= CCOPT="${TARGET_CFLAGS}" INCLS="-I. -I${STAGING_TARGET_DIR}/usr/include"
  19. ssltunnel-install:
  20. ${INSTALL_DIR} ${IDIR_SSLTUNNEL}/usr/bin
  21. ${INSTALL_DIR} ${IDIR_SSLTUNNEL}/usr/sbin
  22. ${INSTALL_DIR} ${IDIR_SSLTUNNEL}/usr/libexec
  23. ${INSTALL_BIN} ${WRKINST}/usr/bin/pppclient \
  24. ${IDIR_SSLTUNNEL}/usr/bin/
  25. ${INSTALL_BIN} ${WRKINST}/usr/sbin/pppwho \
  26. ${IDIR_SSLTUNNEL}/usr/sbin/
  27. ${INSTALL_BIN} ${WRKINST}/usr/libexec/pppserver \
  28. ${IDIR_SSLTUNNEL}/usr/libexec/
  29. include ${ADK_TOPDIR}/mk/pkg-bottom.mk