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

28 lines
368 B
Bash

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