2 # Copyright (C) 2010-2011 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
:=9748f031ed9ebb5c600de354dae53046
18 include $(INCLUDE_DIR
)/package.mk
25 SUBMENU
:=Time Synchronization
26 TITLE
:=Precision Time Protocol
(PTP
) daemon
27 URL
:=http
://ptpd.sourceforge.net
/
28 DEPENDS
:=+libpthread
+librt
31 define Package
/ptpd
/description
32 The PTP daemon
(PTPd
) implements version
2 of the Precision Time Protocol
(PTP
)
33 as defined by the IEEE
1588-2008 standard.
34 PTP was developed to provide very precise time coordination of LAN connected
38 define Package
/ptpd
/install
39 $(INSTALL_DIR
) $(1)/usr
/sbin
$(1)/etc
/init.d
40 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/src
/ptpd2
$(1)/usr
/sbin
/ptpd
41 $(INSTALL_BIN
) .
/files
/ptpd.init
$(1)/etc
/init.d
/ptpd
44 $(eval
$(call BuildPackage
,ptpd
))