mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-28 21:52:39 +00:00
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:
15
root-packages/hdparm/Makefile.patch
Normal file
15
root-packages/hdparm/Makefile.patch
Normal 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
|
||||
|
||||
10
root-packages/hdparm/build.sh
Normal file
10
root-packages/hdparm/build.sh
Normal 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
|
||||
Reference in New Issue
Block a user