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/zlib/default.bash

28 lines
368 B
Bash
Raw Normal View History

source "$pkg_common"
2013-07-13 17:19:22 +01:00
configure()
{
make distclean
CC="$cmd_target_cc" \
./configure \
--shared \
--prefix="$cfg_dir_toolchain_sysroot/usr"
}
build()
{
$cmd_make -j1
}
host_install()
{
$cmd_make -j1 install
}
target_install()
{
cp -a libz.so* "$cfg_dir_rootfs/lib"
$cmd_target_strip "$cfg_dir_rootfs/lib/libz.so"*
}