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/rules/oasys/default.bash

51 lines
869 B
Bash
Raw Normal View History

2013-07-13 17:19:22 +01:00
version=\
(
'1.6.0'
)
url=\
(
"http://downloads.sourceforge.net/dtn/oasys-$version.tgz"
)
md5=\
(
'fc52baea5fd1db8bceb3031356c7acca'
)
maintainer=\
(
'Ricardo Martins <rasm@fe.up.pt>'
)
configure()
{
"../oasys-$version/configure" \
--prefix="$cfg_dir_toolchain_sysroot/usr" \
--with-dbver=4.8 \
--disable-static \
--target="$cfg_target_canonical" \
--host="$cfg_target_canonical" \
--build="$cfg_host_canonical" \
--with-tcl="$cfg_dir_toolchain_sysroot/usr" \
--with-xerces-c="$cfg_dir_toolchain_sysroot/usr"
}
build()
{
$cmd_make -j1
}
host_install()
{
$cmd_make -j1 install
}
target_install()
{
cp -a "$cfg_dir_toolchain_sysroot/usr/lib/"liboasys* $cfg_dir_rootfs/lib &&
for f in "$cfg_dir_rootfs/lib/"liboasys*so; do
$cmd_target_strip "$f"
done
}