source: packages/net/ptpd/Makefile @ 25862

Last change on this file since 25862 was 25862, checked in by swalker, 6 years ago

[packages] ptpd: update to 2.1.0

  • add new libpthread and librt dependencies
  • move to time sync submenu
  • update and correct description
File size: 1.1 KB
Line 
1#
2# Copyright (C) 2010-2011 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=ptpd
11PKG_VERSION:=2.1.0
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=@SF/ptpd
16PKG_MD5SUM:=9748f031ed9ebb5c600de354dae53046
17
18include $(INCLUDE_DIR)/package.mk
19
20MAKE_PATH:=src
21
22define Package/ptpd
23  SECTION:=net
24  CATEGORY:=Network
25  SUBMENU:=Time Synchronization
26  TITLE:=Precision Time Protocol (PTP) daemon
27  URL:=http://ptpd.sourceforge.net/
28  DEPENDS:=+libpthread +librt
29endef
30
31define 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
35 computers.
36endef
37
38define 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
42endef
43
44$(eval $(call BuildPackage,ptpd))
Note: See TracBrowser for help on using the repository browser.