2014-11-16 00:15:52 +01:00
|
|
|
#
|
|
|
|
# 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
|
2022-11-06 13:42:16 +01:00
|
|
|
PKG_VERSION:=9.65
|
treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.
The following temporary change was made to the core:
diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))
COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))
all:
FORCE: ;
And this command used to fix affected packages:
for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
make package/$i/download
done
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 18:32:27 +02:00
|
|
|
PKG_RELEASE:=1
|
2014-11-16 00:15:52 +01:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=@SF/$(PKG_NAME)
|
2022-11-06 13:42:16 +01:00
|
|
|
PKG_HASH:=d14929f910d060932e717e9382425d47c2e7144235a53713d55a94f7de535a4b
|
2018-10-23 02:37:38 +02:00
|
|
|
|
2020-03-16 03:52:25 +01:00
|
|
|
PKG_MAINTAINER:=
|
2014-11-16 00:15:52 +01:00
|
|
|
PKG_LICENSE:=BSD-Style Open Source License
|
2020-03-16 03:52:25 +01:00
|
|
|
PKG_LICENSE_FILES:=LICENSE.TXT
|
2014-11-16 00:15:52 +01:00
|
|
|
|
2020-11-25 05:16:29 +01:00
|
|
|
PKG_INSTALL:=1
|
|
|
|
PKG_BUILD_PARALLEL:=1
|
|
|
|
|
2014-11-16 00:15:52 +01:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/hdparm
|
|
|
|
SECTION:=utils
|
|
|
|
CATEGORY:=Utilities
|
2016-11-02 10:02:34 +01:00
|
|
|
SUBMENU:=Disc
|
2014-11-16 00:15:52 +01:00
|
|
|
TITLE:=Hard disk drive configuration utilitity
|
2018-10-23 02:37:38 +02:00
|
|
|
URL:=https://sourceforge.net/projects/hdparm/
|
2014-11-16 00:15:52 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/hdparm/description
|
|
|
|
get/set SATA/IDE device parameters
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/hdparm/install
|
|
|
|
$(INSTALL_DIR) $(1)/sbin
|
2020-11-25 05:16:29 +01:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/sbin/hdparm $(1)/sbin
|
2014-11-16 00:15:52 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,hdparm))
|