1
0

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