apache-log4cxx: changed download URL.
This commit is contained in:
parent
1b1e6b3fd7
commit
7b6b5e042b
@ -1,22 +1,22 @@
|
|||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
"0.10.0"
|
'0.10.0'
|
||||||
)
|
)
|
||||||
|
|
||||||
url=\
|
url=\
|
||||||
(
|
(
|
||||||
"http://apache.fis.uniroma2.it/logging/log4cxx/0.10.0/apache-log4cxx-0.10.0.tar.gz"
|
"http://www.eu.apache.org/dist/logging/log4cxx/0.10.0/apache-log4cxx-0.10.0.tar.gz"
|
||||||
)
|
)
|
||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
"b30ffb8da3665178e68940ff7a61084c"
|
'b30ffb8da3665178e68940ff7a61084c'
|
||||||
)
|
)
|
||||||
|
|
||||||
requires=\
|
requires=\
|
||||||
(
|
(
|
||||||
"apr/default"
|
'apr/default'
|
||||||
"apr-util/default"
|
'apr-util/default'
|
||||||
)
|
)
|
||||||
|
|
||||||
post_unpack()
|
post_unpack()
|
||||||
@ -29,43 +29,42 @@ post_unpack()
|
|||||||
|
|
||||||
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} \
|
||||||
--with-apr="${cfg_dir_toolchain_sysroot}/usr" \
|
--with-apr="${cfg_dir_toolchain_sysroot}/usr" \
|
||||||
--with-apr-util="${cfg_dir_toolchain_sysroot}/usr" \
|
--with-apr-util="${cfg_dir_toolchain_sysroot}/usr" \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
ac_cv_file__dev_zero=yes \
|
ac_cv_file__dev_zero=yes \
|
||||||
ac_cv_func_setpgrp_void=yes \
|
ac_cv_func_setpgrp_void=yes \
|
||||||
apr_cv_tcp_nodelay_with_cork=no \
|
apr_cv_tcp_nodelay_with_cork=no \
|
||||||
apr_cv_process_shared_works=no \
|
apr_cv_process_shared_works=no \
|
||||||
apr_cv_mutex_robust_shared=no \
|
apr_cv_mutex_robust_shared=no \
|
||||||
ac_cv_sizeof_struct_iovec=8
|
ac_cv_sizeof_struct_iovec=8
|
||||||
}
|
}
|
||||||
|
|
||||||
build()
|
build()
|
||||||
{
|
{
|
||||||
$cmd_make
|
$cmd_make
|
||||||
}
|
}
|
||||||
|
|
||||||
host_install()
|
host_install()
|
||||||
{
|
{
|
||||||
cd ../log4cpp
|
cd ../log4cpp
|
||||||
$cmd_make install
|
$cmd_make install
|
||||||
}
|
}
|
||||||
|
|
||||||
target_install()
|
target_install()
|
||||||
{
|
{
|
||||||
# Libs:
|
# Libs:
|
||||||
for f in "$cfg_dir_toolchain_sysroot/usr/lib/"liblog4cxx*.so*; do
|
for f in "$cfg_dir_toolchain_sysroot/usr/lib/"liblog4cxx*.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