which: update to 2.23

This commit is contained in:
Samuel Tyler 2026-03-05 22:55:52 +11:00
parent 984b832224
commit 3628391569
No known key found for this signature in database
GPG key ID: EB5091A5C77E8DC4
5 changed files with 14 additions and 8 deletions

27
steps/which-2.23/pass1.sh Executable file
View file

@ -0,0 +1,27 @@
# SPDX-FileCopyrightText: 2022 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_unpack() {
default
mv cwm4* cwm4
}
src_prepare() {
default
rmdir cwm4
ln -s ../cwm4 cwm4
touch ChangeLog which.1 which.info m4/submodules.m4 version.texi
./autogen.sh
sed -i 's/@CW_SUBDIRS@//' Makefile.in
}
src_configure() {
./configure --prefix="${PREFIX}"
}
src_install() {
default
rm "${DESTDIR}/${PREFIX}/share/man/man1/which.1"
}

2
steps/which-2.23/sources Normal file
View file

@ -0,0 +1,2 @@
g https://https.git.savannah.gnu.org/git/which.git~3e2c8f _ 4442a6e3d16ce13ea6a2920115321ef38050f2b1bfa0b6ad5723375fefc7b684 which-2.23.tar.gz
g https://github.com/CarloWood/cwm4~3c2d71a3fa598cf336c2fa2d8e64332b62c1ffba https://github.com/CarloWood/cwm4/archive/3c2d71a3fa598cf336c2fa2d8e64332b62c1ffba.tar.gz aeffc74d35b7bc3c0ed636a784fee4daa05764c3c2a4f165841ece5c9095f9e6 cwm4-3c2d71a3fa598cf336c2fa2d8e64332b62c1ffba.tar.gz