This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
lsts_glued/rules/wget/default.bash

32 lines
485 B
Bash
Raw Normal View History

source $pkg_common
2013-07-13 17:19:22 +01:00
requires=\
(
'gnutls/default'
)
configure()
{
./configure \
--prefix="$cfg_dir_toolchain_sysroot/usr" \
--target="$cfg_target_canonical" \
--host="$cfg_target_canonical" \
--build="$cfg_host_canonical" \
--with-sysroot="$cfg_dir_toolchain_sysroot"
}
build()
{
$cmd_make
}
host_install()
{
$cmd_make install
}
target_install()
{
$cmd_target_strip "$cfg_dir_toolchain_sysroot/usr/bin/wget" -o "$cfg_dir_rootfs/usr/bin/wget"
}