###############################################################################
name = compat-gdbm
-version = 1.8.3
+version = 1.12
release = 1
thisapp = gdbm-%{version}
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