ad0267f1a8
Updated project site (old site was not updated since 2010) and package help text. Removed md5 hash. Switched _SITE to https. Release notes: https://sourceforge.net/p/hdparm/news/2021/04/hdparm-961-is-released/ https://sourceforge.net/p/hdparm/news/2021/05/hdparm-962-is-released/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
24 lines
618 B
Makefile
24 lines
618 B
Makefile
################################################################################
|
|
#
|
|
# hdparm
|
|
#
|
|
################################################################################
|
|
|
|
HDPARM_VERSION = 9.62
|
|
HDPARM_SITE = https://downloads.sourceforge.net/project/hdparm/hdparm
|
|
HDPARM_LICENSE = BSD-Style
|
|
HDPARM_LICENSE_FILES = LICENSE.TXT
|
|
|
|
define HDPARM_BUILD_CMDS
|
|
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
|
|
CFLAGS="$(TARGET_CFLAGS)" \
|
|
LDFLAGS="$(TARGET_LDFLAGS)" \
|
|
STRIP=/bin/true
|
|
endef
|
|
|
|
define HDPARM_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -D -m 0755 $(@D)/hdparm $(TARGET_DIR)/sbin/hdparm
|
|
endef
|
|
|
|
$(eval $(generic-package))
|