Imported sources from subversion.
This commit is contained in:
65
packages/apr-util/default.bash
Normal file
65
packages/apr-util/default.bash
Normal file
@@ -0,0 +1,65 @@
|
||||
version=\
|
||||
(
|
||||
'1.5.2'
|
||||
)
|
||||
|
||||
url=\
|
||||
(
|
||||
"http://www.eu.apache.org/dist/apr/apr-util-$version.tar.bz2"
|
||||
)
|
||||
|
||||
md5=\
|
||||
(
|
||||
'89c1348aa79e898d7c34a6206311c9c2'
|
||||
)
|
||||
|
||||
maintainer=\
|
||||
(
|
||||
'Ricardo Martins <rasm@fe.up.pt>'
|
||||
)
|
||||
|
||||
requires=\
|
||||
(
|
||||
'apr/default'
|
||||
)
|
||||
|
||||
configure()
|
||||
{
|
||||
export ac_cv_file__dev_zero='yes'
|
||||
export ac_cv_func_setpgrp_void='yes'
|
||||
export apr_cv_process_shared_works='yes'
|
||||
export apr_cv_mutex_robust_shared='no'
|
||||
export apr_cv_tcp_nodelay_with_cork='yes'
|
||||
export ac_cv_sizeof_struct_iovec='8'
|
||||
export apr_cv_mutex_recursive='yes'
|
||||
|
||||
"../apr-util-$version/configure" \
|
||||
--target="$cfg_target_canonical" \
|
||||
--host="$cfg_target_canonical" \
|
||||
--build="$cfg_host_canonical" \
|
||||
--prefix="$cfg_dir_toolchain_sysroot/usr" \
|
||||
--with-apr="$cfg_dir_toolchain_sysroot/usr" \
|
||||
--disable-static
|
||||
}
|
||||
|
||||
build()
|
||||
{
|
||||
$cmd_make
|
||||
}
|
||||
|
||||
host_install()
|
||||
{
|
||||
$cmd_make install
|
||||
}
|
||||
|
||||
target_install()
|
||||
{
|
||||
# Libs:
|
||||
for f in "$cfg_dir_toolchain_sysroot/usr/lib/libaprutil"*".so"*; do
|
||||
if [ -L "$f" ]; then
|
||||
$cmd_cp "$f" "$cfg_dir_rootfs/usr/lib"
|
||||
else
|
||||
$cmd_target_strip -v "$f" -o "$cfg_dir_rootfs/usr/lib/$(basename "$f")"
|
||||
fi
|
||||
done
|
||||
}
|
64
packages/apr-util/ros.bash
Normal file
64
packages/apr-util/ros.bash
Normal file
@@ -0,0 +1,64 @@
|
||||
version=\
|
||||
(
|
||||
'1.3.12'
|
||||
)
|
||||
|
||||
url=\
|
||||
(
|
||||
"ftp://cis.uniroma2.it/unix/packages/APACHE/apr/apr-util-${version}.tar.bz2"
|
||||
)
|
||||
|
||||
md5=\
|
||||
(
|
||||
'0f671b037ca62751a8a7005578085560'
|
||||
)
|
||||
|
||||
requires=\
|
||||
(
|
||||
'apr/ros'
|
||||
)
|
||||
|
||||
configure()
|
||||
{
|
||||
cd apr-util-${version}
|
||||
./configure \
|
||||
--prefix="${cfg_dir_toolchain_sysroot}/usr" \
|
||||
--target="${cfg_target_canonical}" \
|
||||
--host="${cfg_target_canonical}" \
|
||||
--build="${cfg_host_canonical}" \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--without-pgsql \
|
||||
--without-sqlite2 \
|
||||
--without-sqlite3 \
|
||||
--with-apr="${cfg_dir_toolchain_sysroot}/usr" \
|
||||
--with-expat=builtin \
|
||||
ac_cv_file__dev_zero=yes \
|
||||
ac_cv_func_setpgrp_void=yes \
|
||||
apr_cv_tcp_nodelay_with_cork=no \
|
||||
apr_cv_process_shared_works=no \
|
||||
apr_cv_mutex_robust_shared=no \
|
||||
ac_cv_sizeof_struct_iovec=8
|
||||
}
|
||||
|
||||
build()
|
||||
{
|
||||
$cmd_make
|
||||
}
|
||||
|
||||
host_install()
|
||||
{
|
||||
$cmd_make install
|
||||
}
|
||||
|
||||
target_install()
|
||||
{
|
||||
# Libs: @todo
|
||||
for f in "$cfg_dir_toolchain_sysroot/usr/lib/"libaprutil-*; do
|
||||
if [ -L "$f" ]; then
|
||||
$cmd_cp "$f" "$cfg_dir_rootfs/usr/lib"
|
||||
else
|
||||
$cmd_target_strip -v "$f" -o "$cfg_dir_rootfs/usr/lib/$(basename "$f")"
|
||||
fi
|
||||
done
|
||||
}
|
Reference in New Issue
Block a user