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

31 lines
448 B
Bash
Raw Normal View History

2013-07-13 17:19:22 +01:00
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 "$cfg_package_spec_dir/fs" --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
}