Compile and install stty command
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
name: uutils-coreutils
|
name: uutils-coreutils
|
||||||
description: Cross-platform Rust rewrite of the GNU coreutils
|
description: Cross-platform Rust rewrite of the GNU coreutils
|
||||||
version: 0.0.30
|
version: 0.0.30
|
||||||
|
revision: 2
|
||||||
url: https://github.com/uutils/coreutils
|
url: https://github.com/uutils/coreutils
|
||||||
license: MIT
|
license: MIT
|
||||||
architecture: any
|
architecture: any
|
||||||
|
|||||||
@@ -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 \
|
||||||
@@ -17,6 +17,9 @@ prepare() {
|
|||||||
# The build function is executed in the source directory
|
# The build function is executed in the source directory
|
||||||
# This function is used to compile the source code
|
# This function is used to compile the source code
|
||||||
build() {
|
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"
|
make PREFIX=/usr MANDIR=/share/man/man1 PROFILE=release SKIP_UTILS="$SKIPPED_UTILS"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user