diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-09-01 23:46:24 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-09-12 19:26:51 +0200 |
commit | 3ec45c80b18b15233344125ab8bc12472cfd3dc6 (patch) | |
tree | 2d591ab7ae64414bdb56c985a06a91494d69bae9 /package/openntpd/openntpd.mk | |
parent | 3396401dad1aa6324a9ecddfbf6aa8e2ca5e2072 (diff) | |
download | buildroot-novena-3ec45c80b18b15233344125ab8bc12472cfd3dc6.tar.gz buildroot-novena-3ec45c80b18b15233344125ab8bc12472cfd3dc6.zip |
openntpd: use correct step override method
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/openntpd/openntpd.mk')
-rw-r--r-- | package/openntpd/openntpd.mk | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/package/openntpd/openntpd.mk b/package/openntpd/openntpd.mk index c42ed9c54..81b268b1b 100644 --- a/package/openntpd/openntpd.mk +++ b/package/openntpd/openntpd.mk @@ -9,11 +9,10 @@ OPENNTPD_SITE = ftp://ftp.openbsd.org/pub/OpenBSD/OpenNTPD OPENNTPD_CONF_OPT = --with-builtin-arc4random --disable-strip OPENNTPD_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install -$(eval $(call AUTOTARGETS,package,openntpd)) - -$(OPENNTPD_TARGET_UNINSTALL): - $(call MESSAGE,"Uninstalling") +define OPENNTPD_UNINSTALL_TARGET_CMDS rm -f $(TARGET_DIR)/usr/sbin/ntpd rm -f $(TARGET_DIR)/etc/ntpd.conf rm -f $(TARGET_DIR)/usr/share/man/man?/ntpd* - rm -f $(OPENNTPD_TARGET_INSTALL_TARGET) $(OPENNTPD_HOOK_POST_INSTALL) +endef + +$(eval $(call AUTOTARGETS,package,openntpd)) |