Skip to content

Commit

Permalink
gdbm: use autoconf 2.71 (#12107)
Browse files Browse the repository at this point in the history
  • Loading branch information
graygnuorg committed Jun 20, 2024
1 parent 8c1e39f commit b973c3b
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion projects/gdbm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,27 @@ RUN apt-get -qq update && \
git\
autopoint\
automake\
autoconf\
bison\
flex\
libtool\
texinfo\
gettext
RUN set -- $(apt-cache policy autoconf | \
sed -n -r -e '/^[[:space:]]+Candidate:[[:space:]]+/{' \
-e s/// \
-e 's/-.*//' \
-e 's/\./ /g' \
-e 'p}'); \
if [ "$2" -ge 71 ]; then \
apt-get install -qq autoconf; \
else \
(cd /usr/src && \
curl -oautoconf-2.71.tar.gz https://ftp.gnu.org/gnu/autoconf/autoconf-2.71.tar.gz && \
tar xf autoconf-2.71.tar.gz && \
cd autoconf-2.71 && \
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var && \
make install); \
fi
RUN git clone --depth 1 https://git.gnu.org.ua/gdbm.git
WORKDIR gdbm
COPY build.sh $SRC/

0 comments on commit b973c3b

Please sign in to comment.