summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-03-05 13:55:17 -0600
committerWaldemar Brodkorb <wbx@openadk.org>2015-03-05 13:55:59 -0600
commit18bf88cc0a94614fa4da603cffd23d2e01f050a8 (patch)
tree164e9b33e525baeb5d22a44d56c775182a6d875f /package
parentb498985b1b861b1652464cd9f6decbcf42b29329 (diff)
use latest git, as download mirror is down
Diffstat (limited to 'package')
-rw-r--r--package/libssh/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/package/libssh/Makefile b/package/libssh/Makefile
index 2d83794c7..488ff79f4 100644
--- a/package/libssh/Makefile
+++ b/package/libssh/Makefile
@@ -4,19 +4,16 @@
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libssh
-PKG_VERSION:= 0.6.4
+PKG_VERSION:= 7ec798d3e73f3dac94a3c240545ebaf4daa189b4
PKG_RELEASE:= 1
-PKG_HASH:= 7e3205e2e95bf35b23b83a6485a7d59abe7c7546d01b728f691cf0c374216b52
PKG_DESCR:= secure shell library
PKG_SECTION:= libs/net
PKG_DEPENDS:= libopenssl zlib
PKG_BUILDDEP:= cmake-host openssl zlib
PKG_URL:= http://www.libssh.org/
-PKG_SITES:= https://red.libssh.org/attachments/download/107/
+PKG_SITES:= git://git.libssh.org/projects/libssh.git
PKG_OPTS:= dev
-DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
-
include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBSSH,libssh,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
@@ -26,7 +23,8 @@ CONFIG_STYLE:= cmake
CMAKE_FLAGS:= -DOPENSSL_INCLUDE_DIRS='$(STAGING_TARGET_DIR)/usr/include' \
-DOPENSSL_LIBRARIES='-lcrypto -lssl -lz' \
-DZLIB_INCLUDE_DIR='$(STAGING_TARGET_DIR)/usr/include' \
- -DZLIB_LIBRARY='$(STAGING_TARGET_DIR)/usr/lib'
+ -DZLIB_LIBRARY='$(STAGING_TARGET_DIR)/usr/lib' \
+ -DWITH_EXAMPLES=off
libssh-install:
$(INSTALL_DIR) $(IDIR_LIBSSH)/usr/lib