1 ################################################################################
5 ################################################################################
8 PTPD_SITE
= http
://downloads.sourceforge.net
/project
/ptpd
/ptpd
/$(PTPD_VERSION
)
10 PTPD_LICENSE_FILES
= COPYRIGHT
12 define PTPD_BUILD_CMDS
13 $(TARGET_CONFIGURE_OPTS
) $(MAKE
) -C
$(@D
)/src
16 define PTPD_INSTALL_TARGET_CMDS
17 $(INSTALL
) -m
755 -D
$(@D
)/src
/ptpd
$(TARGET_DIR
)/usr
/sbin
/ptpd
20 define PTPD_INSTALL_INIT_SYSV
21 $(INSTALL
) -m
755 -D package
/ptpd
/S65ptpd \
22 $(TARGET_DIR
)/etc
/init.d
/S65ptpd
25 define PTPD_INSTALL_INIT_SYSTEMD
26 $(INSTALL
) -D
-m
644 package
/ptpd
/ptpd.service \
27 $(TARGET_DIR
)/usr
/lib
/systemd
/system
/ptpd.service
28 mkdir
-p
$(TARGET_DIR
)/etc
/systemd
/system
/multi-user.target.wants
29 ln
-sf ..
/..
/..
/..
/usr
/lib
/systemd
/system
/ptpd.service \
30 $(TARGET_DIR
)/etc
/systemd
/system
/multi-user.target.wants
/ptpd.service
33 $(eval
$(generic-package
))