This fixes compilation problems with glibc 2.36. Full Changelog: hdparm-9.65: - Another --Istdin fix: cannot read log pages when no device specified hdparm-9.64: - fix truncated output buf with --Istdin hdparm-9.63: - new --sanitize-overwrite-passes flag, courtesy Michal Grzedzicki. - "Plurals patch" from Martin Guy. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
44 lines
982 B
Makefile
44 lines
982 B
Makefile
#
|
|
# Copyright (C) 2006-2014 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=hdparm
|
|
PKG_VERSION:=9.65
|
|
PKG_RELEASE:=$(AUTORELEASE)
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=@SF/$(PKG_NAME)
|
|
PKG_HASH:=d14929f910d060932e717e9382425d47c2e7144235a53713d55a94f7de535a4b
|
|
|
|
PKG_MAINTAINER:=
|
|
PKG_LICENSE:=BSD-Style Open Source License
|
|
PKG_LICENSE_FILES:=LICENSE.TXT
|
|
|
|
PKG_INSTALL:=1
|
|
PKG_BUILD_PARALLEL:=1
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/hdparm
|
|
SECTION:=utils
|
|
CATEGORY:=Utilities
|
|
SUBMENU:=Disc
|
|
TITLE:=Hard disk drive configuration utilitity
|
|
URL:=https://sourceforge.net/projects/hdparm/
|
|
endef
|
|
|
|
define Package/hdparm/description
|
|
get/set SATA/IDE device parameters
|
|
endef
|
|
|
|
define Package/hdparm/install
|
|
$(INSTALL_DIR) $(1)/sbin
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/sbin/hdparm $(1)/sbin
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,hdparm))
|