addpkg(root/hdparm): 9.65

- Fixes https://github.com/termux/termux-packages/issues/20911

- `hdparm` has its own SPDX License: https://spdx.org/licenses/hdparm.html
This commit is contained in:
termux-pacman-bot
2025-07-08 10:42:00 +00:00
parent 72e66c10b7
commit eae2e1c08f
2 changed files with 25 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
--- a/Makefile
+++ b/Makefile
@@ -4,9 +4,9 @@
DESTDIR =
-binprefix =
+binprefix = @TERMUX_PREFIX@
-manprefix = /usr
+manprefix = @TERMUX_PREFIX@
exec_prefix = $(binprefix)/
-sbindir = $(exec_prefix)sbin
+sbindir = $(exec_prefix)bin
mandir = $(manprefix)/share/man
oldmandir = $(manprefix)/man

View File

@@ -0,0 +1,10 @@
TERMUX_PKG_HOMEPAGE=https://sourceforge.net/projects/hdparm/
TERMUX_PKG_DESCRIPTION="Utility to get/set SATA/IDE device parameters"
TERMUX_PKG_LICENSE="hdparm"
TERMUX_PKG_LICENSE_FILE="LICENSE.TXT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="9.65"
TERMUX_PKG_SRCURL="https://downloads.sourceforge.net/sourceforge/hdparm/hdparm-${TERMUX_PKG_VERSION}.tar.gz"
TERMUX_PKG_SHA256=d14929f910d060932e717e9382425d47c2e7144235a53713d55a94f7de535a4b
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_BUILD_IN_SRC=true