Makefile 1.2 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 ${TOPDIR}/rules.mk
  4. PKG_NAME:= ssltunnel
  5. PKG_VERSION:= 1.16
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 4039b50566a33a4077883ea974e476d5
  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 glibc
  15. include ${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 ${TOPDIR}/mk/pkg-bottom.mk