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/packages/wget/default.bash
2013-07-13 17:19:22 +01:00

32 lines
485 B
Bash

source $PKG_COMMON
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"
}