1
0

Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132
  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_BUILDDEP+= openssl ppp
  8. PKG_MD5SUM:= 4039b50566a33a4077883ea974e476d5
  9. PKG_DESCR:= A PPP over SSL vpn tool
  10. PKG_SECTION:= net
  11. PKG_DEPENDS:= 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_STYLE:= gnu
  16. CONFIGURE_ENV+= BUILD_CC="${TARGET_CC}"
  17. BUILD_STYLE:= auto
  18. INSTALL_STYLE:= auto
  19. XAKE_FLAGS+= CCOPT="${TARGET_CFLAGS}" INCLS="-I. -I${STAGING_DIR}/usr/include"
  20. post-install:
  21. ${INSTALL_DIR} ${IDIR_SSLTUNNEL}/usr/{bin,sbin}
  22. ${INSTALL_BIN} ${WRKINST}/usr/bin/pppclient ${IDIR_SSLTUNNEL}/usr/bin/
  23. ${INSTALL_BIN} ${WRKINST}/usr/sbin/pppwho ${IDIR_SSLTUNNEL}/usr/sbin/
  24. ${INSTALL_BIN} ${WRKINST}/usr/sbin/pppserver ${IDIR_SSLTUNNEL}/usr/sbin/
  25. include ${TOPDIR}/mk/pkg-bottom.mk