sshpass: add initial package

This commit is contained in:
Christian Hewitt 2021-11-05 09:41:11 +00:00
parent bc59818264
commit b3c98526cc

View File

@ -0,0 +1,23 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2021-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="sshpass"
PKG_VERSION="1.09"
PKG_SHA256="71746e5e057ffe9b00b44ac40453bf47091930cba96bbea8dc48717dedc49fb7"
PKG_LICENSE="GPLv2"
PKG_SITE="https://sourceforge.net/p/sshpass"
PKG_URL="https://downloads.sourceforge.net/sshpass/sshpass-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="sshpass: a tool for non-interactive ssh password auth"
pre_configure_target(){
if [ "${ARCH}" != "x86_64" ]; then
export ac_cv_func_malloc_0_nonnull=yes
export ac_cv_func_realloc_0_nonnull=yes
fi
}
makeinstall_target() {
mkdir -p ${INSTALL}/usr/bin
cp sshpass ${INSTALL}/usr/bin
}