diff --git a/package/hdparm/hdparm.mk b/package/hdparm/hdparm.mk index b4b1e2a9..5a3f5136 100644 --- a/package/hdparm/hdparm.mk +++ b/package/hdparm/hdparm.mk @@ -9,10 +9,11 @@ HDPARM_DIR = hdparm-$(HDPARM_VERSION) HDPARM_SOURCE = hdparm-$(HDPARM_VERSION).tar.gz HDPARM_SITE = https://sourceforge.net/projects/hdparm/files/hdparm +HDPARM_MAKE_ENV = \ + $(TARGET_CONFIGURE_ENV) + +HDPARM_MAKE_OPTS = \ + mandir=$(REMOVE_mandir) + hdparm: | $(TARGET_DIR) - $(call PREPARE) - $(CHDIR)/$($(PKG)_DIR); \ - $(TARGET_CONFIGURE_ENV) \ - $(MAKE); \ - $(MAKE) install DESTDIR=$(TARGET_DIR) mandir=$(REMOVE_mandir) - $(call TARGET_FOLLOWUP) + $(call generic-package)