findutils: import gnulib

Fixes: #88
This commit is contained in:
Andrius Štikonas 2021-04-08 21:24:43 +01:00
parent 5bc7af081d
commit 4dbc9618a2
4 changed files with 67 additions and 1 deletions

View File

@ -35,6 +35,7 @@ e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995 flex-2.6.4.tar
e9bf58c761a4f988311aef6b41f12fd5c7e51d09477468fb73826aecc1be32e7 gcc-4.0.4.tar.bz2
fd4829912cddd12f84181c3451cc752be224643e87fac497b69edddadc49b4f2 gmp-6.2.1.tar.xz
df807e694deea2dcba0c43af318394f3e3fcd52658c3b71b61dad0ce0c0cfb77 gnulib-30820c.tar.gz
0cfbf866bc39c31f25fa0e56af1e56c5e5c92fc1e5d51242ebafef7ea211f3d5 gnulib-8e128e.tar.gz
a32032bab36208509466654df12f507600dfe0313feebbcd218c32a70bf72a16 grep-2.4.tar.gz
4d2ce9f314f39c9575f913503b0178d6fb2c92920db8e7b7b176b7bab7980fe6 gzip-1.2.4.tar
9f233d8b78e4351fe9dd2d50d83958a0e5af36f54e9818521458a08e058691ba heirloom-devtools-070527.tar.bz2

View File

@ -310,7 +310,8 @@ get_file https://ftp.gnu.org/gnu/autoconf/autoconf-2.61.tar.bz2
get_file https://ftp.gnu.org/gnu/automake/automake-1.9.6.tar.bz2
# findutils 4.2.33
get_file https://ftp.gnu.org/gnu/findutils/findutils-4.2.33.tar.gz
get_file https://ftp.gnu.org/gnu/findutils/findutils-4.2.33.tar.gz \
https://git.savannah.gnu.org/cgit/gnulib.git/snapshot/gnulib-8e128e.tar.gz
# libtool 2.2.4
get_file https://ftp.gnu.org/gnu/libtool/libtool-2.2.4.tar.bz2

View File

@ -3,6 +3,8 @@
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
. ../../import-gnulib.sh
autoreconf-2.61 -f
}

View File

@ -0,0 +1,62 @@
#!/bin/sh
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
../gnulib-8e128e/gnulib-tool \
--import \
--dir=. \
--lib=libgnulib \
--source-base=gnulib/lib \
--m4-base=gnulib/m4 \
--doc-base=doc \
--aux-dir=. \
--with-tests \
--no-libtool \
--macro-prefix=gl \
alloca \
argmatch \
canonicalize \
closein \
closeout \
dirname \
error \
fdl \
fileblocks \
filemode \
fnmatch-gnu \
fopen-safer \
getline \
getopt \
gettext \
human \
idcache \
lstat \
malloc \
memcmp \
memset \
mktime \
modechange \
mountlist \
pathmax \
quotearg \
realloc \
regex \
rpmatch \
savedir \
stat-macros \
stpcpy \
strdup \
strftime \
strstr \
strtol \
strtoul \
strtoull \
strtoumax \
xalloc \
xalloc-die \
xgetcwd \
xstrtol \
xstrtoumax \
yesno