Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  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. PKG_LIBC_DEPENDS:= uclibc glibc
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,SSLTUNNEL,ssltunnel,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_ENV+= BUILD_CC="${TARGET_CC}"
  17. XAKE_FLAGS+= CCOPT="${TARGET_CFLAGS}" INCLS="-I. -I${STAGING_TARGET_DIR}/usr/include"
  18. ssltunnel-install:
  19. ${INSTALL_DIR} ${IDIR_SSLTUNNEL}/usr/bin
  20. ${INSTALL_DIR} ${IDIR_SSLTUNNEL}/usr/sbin
  21. ${INSTALL_DIR} ${IDIR_SSLTUNNEL}/usr/libexec
  22. ${INSTALL_BIN} ${WRKINST}/usr/bin/pppclient \
  23. ${IDIR_SSLTUNNEL}/usr/bin/
  24. ${INSTALL_BIN} ${WRKINST}/usr/sbin/pppwho \
  25. ${IDIR_SSLTUNNEL}/usr/sbin/
  26. ${INSTALL_BIN} ${WRKINST}/usr/libexec/pppserver \
  27. ${IDIR_SSLTUNNEL}/usr/libexec/
  28. include ${TOPDIR}/mk/pkg-bottom.mk