2 # Copyright (C) 2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=@SF
/ptpd
16 PKG_MD5SUM
:=b112b2bedc7f6e6e11a838608b9e0357
18 include $(INCLUDE_DIR
)/package.mk
25 TITLE
:=Precision Time protocol
(PTP
) daemon
26 URL
:=http
://ptpd.sourceforge.net
/
29 define Package
/ptpd
/daemon
30 The PTP daemon
(PTPd
) implements the Precision Time protocol
(PTP
) as defined by the IEEE
1588 standard.
31 PTP was developed to provide very precise time coordination of LAN connected computers.
34 define Package
/ptpd
/install
35 $(INSTALL_DIR
) $(1)/usr
/sbin
$(1)/etc
/init.d
36 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/src
/ptpd
$(1)/usr
/sbin
/
37 $(INSTALL_BIN
) .
/files
/ptpd.init
$(1)/etc
/init.d
/ptpd
40 $(eval
$(call BuildPackage
,ptpd
))