strace: added package.

This commit is contained in:
Ricardo Martins 2013-07-31 03:04:27 +01:00
parent a64b86d125
commit 0b0a3d73fe

View File

@ -0,0 +1,45 @@
version=\
(
'4.8'
)
url=\
(
"http://downloads.sourceforge.net/strace/4.8/strace-$version.tar.xz"
)
md5=\
(
'c575ef43829586801f514fd91bfe7575'
)
maintainer=\
(
'Ricardo Martins <rasm@fe.up.pt>'
)
configure()
{
"../strace-$version/configure" \
--prefix="$cfg_dir_toolchain_sysroot/usr" \
--target="$cfg_target_canonical" \
--host="$cfg_target_canonical" \
--build="$cfg_host_canonical" \
--disable-static \
--enable-shared
}
build()
{
$cmd_make
}
host_install()
{
$cmd_make install
}
target_install()
{
$cmd_target_strip strace -o $cfg_dir_rootfs/usr/bin/strace
}