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

50 lines
738 B
Bash

version=\
(
"3.8.1"
)
url=\
(
"http://valgrind.org/downloads/valgrind-$version.tar.bz2"
)
md5=\
(
"288758010b271119a0ffc0183f1d6e38"
)
maintainer=\
(
"Ricardo Martins <rasm@fe.up.pt>"
)
# post_unpack()
# {
# patches=$(ls "$cfg_package_spec_dir"/patches/*.patch)
# if [ -n "$patches" ]; then
# cat $patches | patch -p1
# fi
# cd "../valgrind-$version" && autoreconf
# }
configure()
{
"../valgrind-$version/configure" \
--prefix="/usr" \
--target="$cfg_target_canonical" \
--host="$cfg_target_canonical" \
--build="$cfg_host_canonical" \
--enable-tls
}
build()
{
$cmd_make
}
target_install()
{
$cmd_make DESTDIR="$cfg_dir_rootfs" install
}