mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-27 05:26:31 +01:00
Update gperf
This commit is contained in:
parent
59e5a4341a
commit
e4689a9467
7 changed files with 35 additions and 13 deletions
29
steps/gperf-3.3/pass1.sh
Executable file
29
steps/gperf-3.3/pass1.sh
Executable file
|
|
@ -0,0 +1,29 @@
|
|||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
rm doc/gperf.{1,dvi,info,pdf,ps} doc/*.html
|
||||
touch doc/gperf.info doc/gperf.pdf
|
||||
|
||||
# Useless tests things
|
||||
rm tests/*.exp tests/{languages,charsets}.gperf tests/lang-ucs2.in
|
||||
|
||||
GNULIB_SRCDIR=$(realpath ../gnulib-b08ee1d) \
|
||||
AUTOCONF=autoconf-2.71 \
|
||||
./autogen.sh
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure --prefix="${PREFIX}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
make "${MAKEJOBS}" MAKEINFO=true PREFIX="${PREFIX}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make MAKEINFO=true PREFIX="${PREFIX}" DESTDIR="${DESTDIR}" install
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue