libpng: updated to 1.6.8.
This commit is contained in:
parent
1650a8becd
commit
a0efadc2d5
@ -1,46 +1,45 @@
|
|||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
"1.6.2"
|
'1.6.8'
|
||||||
)
|
)
|
||||||
|
|
||||||
url=\
|
url=\
|
||||||
(
|
(
|
||||||
"http://downloads.sourceforge.net/project/libpng/libpng16/$version/libpng-$version.tar.xz"
|
"http://downloads.sourceforge.net/project/libpng/libpng16/$version/libpng-$version.tar.xz"
|
||||||
)
|
)
|
||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
"9d838f6fca9948a9f360a0cc1b516d5f"
|
'51ce71a1642cdde1f4485a7ff82193c0'
|
||||||
)
|
)
|
||||||
|
|
||||||
configure()
|
configure()
|
||||||
{
|
{
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="${cfg_dir_toolchain_sysroot}/usr" \
|
--prefix="${cfg_dir_toolchain_sysroot}/usr" \
|
||||||
--target="$cfg_target_canonical" \
|
--target="$cfg_target_canonical" \
|
||||||
--host="$cfg_target_canonical" \
|
--host="$cfg_target_canonical" \
|
||||||
--build="$cfg_host_canonical"
|
--build="$cfg_host_canonical"
|
||||||
}
|
}
|
||||||
|
|
||||||
build()
|
build()
|
||||||
{
|
{
|
||||||
$cmd_make
|
$cmd_make
|
||||||
}
|
}
|
||||||
|
|
||||||
host_install()
|
host_install()
|
||||||
{
|
{
|
||||||
$cmd_make install
|
$cmd_make install
|
||||||
}
|
}
|
||||||
|
|
||||||
target_install()
|
target_install()
|
||||||
{
|
{
|
||||||
# Libs:
|
# Libs:
|
||||||
for f in "$cfg_dir_toolchain_sysroot/usr/lib/"libpng*.so*; do
|
for f in "$cfg_dir_toolchain_sysroot/usr/lib/"libpng*.so*; do
|
||||||
if [ -L "$f" ]; then
|
if [ -L "$f" ]; then
|
||||||
$cmd_cp "$f" "$cfg_dir_rootfs/usr/lib"
|
$cmd_cp "$f" "$cfg_dir_rootfs/usr/lib"
|
||||||
else
|
else
|
||||||
$cmd_target_strip -v "$f" -o "$cfg_dir_rootfs/usr/lib/$(basename "$f")"
|
$cmd_target_strip -v "$f" -o "$cfg_dir_rootfs/usr/lib/$(basename "$f")"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user