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

40 lines
562 B
Bash

version=\
(
"10.1"
)
url=\
(
"http://libav.org/releases/libav-$version.tar.gz"
)
md5=\
(
99c123b9ba9c0ff8c6bfd67a635f99ac
)
configure()
{
./configure \
--sysroot="$cfg_dir_toolchain_sysroot" \
--prefix="$cfg_dir_rootfs/usr" \
--cross-prefix="$cfg_target_canonical-" \
--target-os="linux" \
--enable-memalign-hack \
--enable-shared \
--enable-pic \
--enable-gpl \
--arch=$cfg_architecture
}
build()
{
$cmd_make
}
target_install()
{
$cmd_make \
install
}