# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
-# $Id: $
+# $Id$
include $(TOPDIR)/rules.mk
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
-PKG_SOURCE_URL:=http://sublimation.org/scponly
+PKG_SOURCE_URL:=@SF/scponly \
+ http://sublimation.org/scponly
PKG_MD5SUM:=0425cb868cadd026851238452f1db907
-PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
-PKG_CONFIGURE_OPTS:= \
- --enable-winscp-compat \
- --enable-scp-compat \
- --disable-rsync-compat \
- --without-sftp-server
-
+CONFIGURE_ARGS += \
+ ac_cv_path_scponly_PROG_SFTP_SERVER="/usr/libexec/sftp-server" \
+ , \
+ --enable-winscp-compat \
+ --enable-scp-compat \
+ --disable-rsync-compat \
+ --with-sftp-server="/usr/libexec/sftp-server"
define Package/scponly
SECTION:=utils