[packages] ptpd: fix initscript file name, fix description, add copyright header, bump release number
git-svn-id: svn://svn.openwrt.org/openwrt/packages@21669 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
ae803d985e
commit
94fbef71e0
@ -1,8 +1,15 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2010 OpenWrt.org
|
||||||
|
#
|
||||||
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
|
# See /LICENSE for more information.
|
||||||
|
#
|
||||||
|
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=ptpd
|
PKG_NAME:=ptpd
|
||||||
PKG_VERSION:=1.0.0
|
PKG_VERSION:=1.0.0
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=@SF/ptpd
|
PKG_SOURCE_URL:=@SF/ptpd
|
||||||
@ -15,7 +22,7 @@ MAKE_PATH:=src
|
|||||||
define Package/ptpd
|
define Package/ptpd
|
||||||
SECTION:=net
|
SECTION:=net
|
||||||
CATEGORY:=Network
|
CATEGORY:=Network
|
||||||
TITLE:=PTPD
|
TITLE:=Precision Time protocol (PTP) daemon
|
||||||
URL:=http://ptpd.sourceforge.net/
|
URL:=http://ptpd.sourceforge.net/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@ -27,7 +34,7 @@ endef
|
|||||||
define Package/ptpd/install
|
define Package/ptpd/install
|
||||||
$(INSTALL_DIR) $(1)/usr/sbin $(1)/etc/init.d
|
$(INSTALL_DIR) $(1)/usr/sbin $(1)/etc/init.d
|
||||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/ptpd $(1)/usr/sbin/
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/ptpd $(1)/usr/sbin/
|
||||||
$(INSTALL_BIN) ./files/ptpd.init $(1)/etc/init.d/
|
$(INSTALL_BIN) ./files/ptpd.init $(1)/etc/init.d/ptpd
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,ptpd))
|
$(eval $(call BuildPackage,ptpd))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user