diff src/libssh2.mk @ 2046:45dbac6fcb14

package libssh2: use libgcrypt instead of openssl
author Tony Theodore <tonyt@logyst.com>
date Mon, 24 Oct 2011 23:57:30 +1100
parents a8051ff4b885
children a6f0aed4afde
line wrap: on
line diff
--- a/src/libssh2.mk	Mon Oct 24 20:23:02 2011 +1100
+++ b/src/libssh2.mk	Mon Oct 24 23:57:30 2011 +1100
@@ -10,7 +10,7 @@
 $(PKG)_FILE     := libssh2-$($(PKG)_VERSION).tar.gz
 $(PKG)_WEBSITE  := http://www.libssh2.org
 $(PKG)_URL      := http://www.libssh2.org/download/$($(PKG)_FILE)
-$(PKG)_DEPS     := gcc openssl zlib
+$(PKG)_DEPS     := gcc libgcrypt zlib
 
 define $(PKG)_UPDATE
     wget -q -O- 'http://www.libssh2.org/download/?C=M;O=D' | \
@@ -24,6 +24,8 @@
         --host='$(TARGET)' \
         --disable-shared \
         --prefix='$(PREFIX)/$(TARGET)' \
+        --without-openssl \
+        --with-libgcrypt \
         PKG_CONFIG='$(TARGET)-pkg-config'
     $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= html_DATA=