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

61 lines
1.1 KiB
Bash
Raw Normal View History

2013-07-13 17:19:22 +01:00
version=\
(
'1.6.15'
)
url=\
(
"http://subversion.tigris.org/downloads/subversion-$version.tar.bz2"
"http://www.sqlite.org/sqlite-amalgamation-3.6.13.tar.gz"
)
md5=\
(
'113fca1d9e4aa389d7dc2b210010fa69'
'681722e7cdc6d9ab3be836736ed50641'
)
maintainer=\
(
'Ricardo Martins <rasm@fe.up.pt>'
)
requires=\
(
'neon/default'
'zlib/default'
'apr/default'
'apr-utils/default'
)
post_unpack()
{
mkdir sqlite-amalgamation &&
cp ../sqlite-3.6.13/sqlite3.{c,h} sqlite-amalgamation
}
configure()
{
"../subversion-$version/configure" \
--target="$cfg_target_canonical" \
--host="$cfg_target_canonical" \
--build="$cfg_host_canonical" \
--prefix="$cfg_dir_toolchain_sysroot/usr" \
--without-apxs \
--with-neon="$cfg_dir_toolchain_sysroot/usr" \
--with-zlib="$cfg_dir_toolchain_sysroot/usr" \
--with-apr="$cfg_dir_toolchain_sysroot/usr" \
--with-apr-util="$cfg_dir_toolchain_sysroot/usr" \
--disable-static
}
build()
{
$cmd_make
}
host_install()
{
$cmd_make -j1 install
}