libav: added new rule. Installs avconv used for video recording.
This commit is contained in:
parent
63d60d4c02
commit
a5ca7f0cae
39
rules/libav/default.bash
Normal file
39
rules/libav/default.bash
Normal file
@ -0,0 +1,39 @@
|
||||
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
|
||||
}
|
Reference in New Issue
Block a user