sshpass: added rules.

This commit is contained in:
Ricardo Martins 2015-09-04 17:56:51 +01:00
parent a4bcbfa5f9
commit 779283c960
1 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,39 @@
version=\
(
"1.05"
)
url=\
(
"http://sourceforge.net/projects/sshpass/files/sshpass/${version}/sshpass-${version}.tar.gz"
)
md5=\
(
"c52d65fdee0712af6f77eb2b60974ac7"
)
configure()
{
export ac_cv_func_malloc_0_nonnull=yes
./configure \
--prefix="$cfg_dir_toolchain_sysroot/usr" \
--target="$cfg_target_canonical" \
--host="$cfg_target_canonical" \
--build="$cfg_host_canonical"
}
build()
{
$cmd_make
}
host_install()
{
$cmd_make install
}
target_install()
{
$cmd_target_strip "$cfg_dir_toolchain_sysroot/usr/bin/sshpass" -o "$cfg_dir_rootfs/bin/sshpass"
}