]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - db4/db4.nm
Merge branch 'master' of ssh://git.ipfire.org/pub/git/ipfire-3.x
[people/ms/ipfire-3.x.git] / db4 / db4.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = db4
7 version_major = 4.8
8 version_minor = 30
9 version = %{version_major}.%{version_minor}
10 release = 2
11 epoch = 1
12 thisapp = db-%{version}
13
14 # Never update this to major version 5.
15
16 maintainer = Michael Tremer <michael.tremer@ipfire.org>
17 groups = System/Libraries
18 url = http://www.oracle.com/technology/products/berkeley-db/
19 license = Proprietary
20 summary = Berkeley DB is a library that provides an embedded database.
21
22 description
23 Berkeley DB (BDB) is a computer software library that provides
24 a high-performance embedded database.
25 end
26
27 source_dl = http://download.oracle.com/berkeley-db/
28
29 build
30 requires
31 gcc-c++
32 end
33
34 build
35 cd %{DIR_APP}/build_unix
36 CC=gcc \
37 ../dist/configure \
38 --prefix=/usr \
39 --enable-compat185 \
40 --enable-cxx \
41 --disable-static
42
43 make %{PARALLELISMFLAGS}
44 end
45
46 install
47 cd %{DIR_APP}/build_unix
48 make install DESTDIR=%{BUILDROOT} \
49 docdir=/usr/share/doc/%{thisapp}
50 end
51 end
52
53 packages
54 package db4
55
56 package db4-devel
57 template DEVEL
58
59 # Overwrite because of epoch != 0.
60 requires = %{name}=%{epoch}:%{thisver}
61
62 files += \
63 !/usr/lib*/libdb-%{version_major}.so
64 end
65
66 package db4-utils
67 summary = Command line tools for managing Berkeley DB (version 4) databases.
68 description = %{summary}
69
70 files
71 /usr/bin
72 end
73 end
74
75 package db4-cxx
76 summary = The Berkeley DB database library (version 4) for C++.
77 description = %{summary}
78
79 files
80 /usr/lib*/libdb_cxx-%{version_major}.so
81 end
82 end
83
84 package %{name}-debuginfo
85 template DEBUGINFO
86 end
87 end