Makefile 881 B

1234567891011121314151617181920212223242526272829
  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:= libssh2
  5. PKG_VERSION:= 1.4.3
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 071004c60c5d6f90354ad1b701013a0b
  8. PKG_DESCR:= client-side C library implementing SSH2 protocol
  9. PKG_SECTION:= libs
  10. PKG_BUILDDEP:= openssl zlib
  11. PKG_DEPENDS:= libopenssl zlib
  12. PKG_URL:= http://www.libssh2.org/
  13. PKG_SITES:= http://www.libssh2.org/download/
  14. PKG_OPTS:= dev
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  16. include $(TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,LIBSSH2,libssh2,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  18. libssh2-install:
  19. $(INSTALL_DIR) $(IDIR_LIBSSH2)/usr/lib
  20. $(CP) $(WRKINST)/usr/lib/libssh2*.so* \
  21. $(IDIR_LIBSSH2)/usr/lib
  22. include ${TOPDIR}/mk/pkg-bottom.mk