]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - compat-gdbm/compat-gdbm.nm
libnetfilter_queue: Update to 1.0.2.
[people/ms/ipfire-3.x.git] / compat-gdbm / compat-gdbm.nm
CommitLineData
3191bb0d
MT
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = compat-gdbm
7version = 1.8.3
8release = 1
9thisapp = gdbm-%{version}
10
11groups = Development/Tools
12url = http://www.gnu.org/software/gdbm/
13license = GPLv2+
14summary = The GDBM package contains the GNU Database Manager.
15
16description
17 The GDBM package contains the GNU Database Manager. This is a disk file \
18 format database which stores key/data-pairs in single files. The actual \
19 data of any record being stored is indexed by a unique key, which can be \
20 retrieved in less time than if it was stored in a text file.
21end
22
23source_dl = http://ftp.gnu.org/gnu/gdbm/
24
25build
26 requires
27 autoconf
28 automake
29 libtool
30 end
31
32 prepare_cmds
33 libtoolize --force --copy
34 aclocal
35 autoconf
36
37 # Don't use flock, because it doesn't work on NFS.
38 # Use fcntl instead.
39 echo "#undef HAVE_FLOCK" >> autoconf.h.in
40 end
41
42 PARALLELISMFLAGS = # Not supported.
43
44 install
45 make install install-compat \
46 prefix=%{BUILDROOT}%{prefix} \
47 libdir=%{BUILDROOT}%{libdir} \
48 includedir=%{BUILDROOT}%{includedir} \
49 mandir=%{BUILDROOT}%{mandir} \
50 infodir=%{BUILDROOT}%{infodir}
51
52 mkdir -pv %{BUILDROOT}%{includedir}/gdbm
53 ln -svf gdbm/gdbm.h %{BUILDROOT}%{includedir}/gdbm.h
54
55 # Remove all man pages provided by gdbm-devel.
56 rm -rfv %{BUILDROOT}%{mandir}/man3
57 end
58end
59
60packages
61 package %{name}
62 conflicts
63 gdbm <= %{version}
64 end
65 end
66
67 package %{name}-devel
68 template DEVEL
69
70 requires
71 compat-gdbm = %{thisver}
72 end
73
74 conflicts
75 gdbm-devel
76 end
77 end
78
79 package %{name}-debuginfo
80 template DEBUGINFO
81 end
82end