mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-14 23:35:24 +01:00
Add which 2.21.
This commit is contained in:
parent
d72c68369e
commit
9f3f65f146
6 changed files with 36 additions and 0 deletions
22
sysc/which-2.21/which-2.21.sh
Executable file
22
sysc/which-2.21/which-2.21.sh
Executable file
|
|
@ -0,0 +1,22 @@
|
|||
# SPDX-FileCopyrightText: 2022 Andrius Štikonas <andrius@stikonas.eu>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
urls="https://carlowood.github.io/which/which-2.21.tar.gz"
|
||||
|
||||
src_prepare() {
|
||||
rm configure Makefile.in aclocal.m4 which.1
|
||||
touch ChangeLog which.1
|
||||
sed -i '/@ACLOCAL_CWFLAGS@/d' Makefile.am
|
||||
autoreconf-2.69 -fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
CFLAGS="-static" ./configure --prefix="${PREFIX}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
rm "${DESTDIR}/${PREFIX}/share/man/man1/which.1"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue