Compile and install stty command

This commit is contained in:
2025-04-05 18:46:02 +03:00
parent fbbd9670ca
commit 1abfc0ad12
3 changed files with 18 additions and 0 deletions
+1
View File
@@ -1,6 +1,7 @@
name: uutils-coreutils
description: Cross-platform Rust rewrite of the GNU coreutils
version: 0.0.30
revision: 2
url: https://github.com/uutils/coreutils
license: MIT
architecture: any
+14
View File
@@ -0,0 +1,14 @@
diff --git a/GNUmakefile b/GNUmakefile
index 8d7179b5e..84947aa4a 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -173,7 +173,8 @@ UNIX_PROGS := \
unlink \
uptime \
users \
- who
+ who \
+ stty
SELINUX_PROGS := \
chcon \
+3
View File
@@ -17,6 +17,9 @@ prepare() {
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
# Apply patch to add stty to makefile
patch GNUmakefile < "$BPM_WORKDIR"/add_stty_to_makefile.patch
make PREFIX=/usr MANDIR=/share/man/man1 PROFILE=release SKIP_UTILS="$SKIPPED_UTILS"
}