Makefile 930 B

123456789101112131415161718192021222324252627282930
  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:= libopenssl zlib kmod-tun
  11. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=vtun/}
  12. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,VTUN,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. CONFIGURE_STYLE:= gnu
  15. CONFIGURE_ARGS+= --with-ssl-headers=$(STAGING_DIR)/usr/include/openssl \
  16. --disable-lzo
  17. BUILD_STYLE:= auto
  18. ALL_TARGET:= vtund
  19. do-install:
  20. ${INSTALL_DIR} ${IDIR_VTUN}/usr/sbin ${IDIR_VTUN}/etc
  21. ${INSTALL_DATA} ${WRKBUILD}/vtund.conf ${IDIR_VTUN}/etc/
  22. ${INSTALL_BIN} ${WRKBUILD}/vtund ${IDIR_VTUN}/usr/sbin/
  23. include ${TOPDIR}/mk/pkg-bottom.mk