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/ptpd/default.bash
2014-02-04 07:44:17 +00:00

31 lines
435 B
Bash

version=\
(
'2.2.0'
)
url=\
(
"http://downloads.sourceforge.net/ptpd/ptpd-$version.tar.gz"
)
md5=\
(
'c63a3a149d30c710773ccb02df5782a3'
)
maintainer=\
(
'Ricardo Martins <rasm@fe.up.pt>'
)
build()
{
make CC="$cmd_target_cc" -C src
}
target_install()
{
$cmd_target_strip src/ptpd2 -o $cfg_dir_rootfs/usr/bin/ptpd2 &&
tar -C "$pkg_dir/fs" --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
}