Makefile 985 B

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