]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blobdiff - compat-gdbm/compat-gdbm.nm
gdbm: Update to 1.23
[people/pmueller/ipfire-3.x.git] / compat-gdbm / compat-gdbm.nm
index e00b58f2f96c65c7f2ca92a0b3343df9f4a0be2a..c86db05dbf4ec984efdf5de4ded3408c66152659 100644 (file)
@@ -4,7 +4,7 @@
 ###############################################################################
 
 name       = compat-gdbm
-version    = 1.8.3
+version    = 1.12
 release    = 1
 thisapp    = gdbm-%{version}
 
@@ -20,39 +20,20 @@ description
        retrieved in less time than if it was stored in a text file.
 end
 
-source_dl  = http://ftp.gnu.org/gnu/gdbm/
+source_dl  = https://ftp.gnu.org/gnu/gdbm/
 
 build
-       requires
-               autoconf
-               automake
-               libtool
-       end
-
-       prepare_cmds
-               libtoolize --force --copy
-               aclocal
-               autoconf
-
-               # Don't use flock, because it doesn't work on NFS.
-               # Use fcntl instead.
-               echo "#undef HAVE_FLOCK" >> autoconf.h.in
-       end
-
-       PARALLELISMFLAGS = # Not supported.
+       CFLAGS += -fcommon
 
        install
-               make install install-compat \
+               make install \
                        prefix=%{BUILDROOT}%{prefix} \
                        libdir=%{BUILDROOT}%{libdir} \
                        includedir=%{BUILDROOT}%{includedir} \
                        mandir=%{BUILDROOT}%{mandir} \
                        infodir=%{BUILDROOT}%{infodir}
 
-               mkdir -pv %{BUILDROOT}%{includedir}/gdbm
-               ln -svf gdbm/gdbm.h %{BUILDROOT}%{includedir}/gdbm.h
-
-               # Remove all man pages provided by gdbm-devel.
+               # Remove all man pages provided by gdbm-devel
                rm -rfv %{BUILDROOT}%{mandir}/man3
        end
 end