Makefile 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  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:= vtun
  5. PKG_VERSION:= 3.0.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= c342ffe77055d4248a38f0b380f28c1b
  8. PKG_DESCR:= VPN tunnel daemon
  9. PKG_SECTION:= net/misc
  10. PKG_DEPENDS:= zlib libopenssl liblzo
  11. PKG_BUILDDEP:= zlib openssl liblzo
  12. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=vtun/}
  13. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  14. PKG_HOST_DEPENDS:= !freebsd
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,VTUN,vtun,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. INSTALL_STYLE:= manual
  18. CONFIGURE_ARGS+= --with-ssl-headers=$(STAGING_TARGET_DIR)/usr/include/openssl \
  19. --disable-lzo
  20. ALL_TARGET:= vtund
  21. do-install:
  22. ${INSTALL_DIR} ${IDIR_VTUN}/usr/sbin ${IDIR_VTUN}/etc
  23. ${INSTALL_DATA} ${WRKBUILD}/vtund.conf ${IDIR_VTUN}/etc/
  24. ${INSTALL_BIN} ${WRKBUILD}/vtund ${IDIR_VTUN}/usr/sbin/
  25. include ${TOPDIR}/mk/pkg-bottom.mk