2 # Copyright (C) 2007 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).tgz
16 PKG_SOURCE_URL
:=@SF
/scponly \
17 http
://sublimation.org
/scponly
18 PKG_MD5SUM
:=0425cb868cadd026851238452f1db907
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
22 include $(INCLUDE_DIR
)/package.mk
25 ac_cv_path_scponly_PROG_SFTP_SERVER
="/usr/libexec/sftp-server" \
27 --enable-winscp-compat \
29 --disable-rsync-compat \
30 --with-sftp-server
="/usr/libexec/sftp-server"
32 define Package
/scponly
35 TITLE
=:alternative
'shell' (of sorts
) for sysadmins
36 URL
:=http
://sublimation.org
/scponly
39 define Package
/scponly
/postinst
41 echo
"/usr/bin/scponly" >> $${IPKG_INSTROOT}/etc
/shells
45 $(call Build
/Compile
/Default
)
48 define Package
/scponly
/install
49 $(INSTALL_DIR
) $(1)/usr
/bin
50 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/scponly
$(1)/usr
/bin
/
53 $(eval
$(call BuildPackage
,scponly
))