]>
Commit | Line | Data |
---|---|---|
f6d9281d | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
f6d9281d MT |
4 | ############################################################################### |
5 | ||
802ea3af MT |
6 | name = db |
7 | version_major = 4.7 | |
8 | version_minor = 25 | |
9 | version = %{version_major}.%{version_minor} | |
10 | release = 1 | |
11 | epoch = 1 | |
f6d9281d | 12 | |
24d34be6 MT |
13 | # Never update this to major version 5. |
14 | ||
802ea3af MT |
15 | maintainer = Michael Tremer <michael.tremer@ipfire.org> |
16 | groups = System/Libraries | |
17 | url = http://www.oracle.com/technology/products/berkeley-db/ | |
18 | license = Proprietary | |
19 | summary = Berkeley DB is a library that provides an embedded database. | |
f6d9281d | 20 | |
802ea3af | 21 | description |
f6d9281d MT |
22 | Berkeley DB (BDB) is a computer software library that provides \ |
23 | a high-performance embedded database. | |
802ea3af | 24 | end |
f6d9281d | 25 | |
802ea3af | 26 | source_dl = |
bf2de166 | 27 | |
802ea3af MT |
28 | build |
29 | requires | |
30 | gcc-c++ | |
31 | end | |
f6d9281d | 32 | |
802ea3af MT |
33 | build |
34 | cd %{DIR_APP}/build_unix | |
f6d9281d MT |
35 | CC=gcc \ |
36 | ../dist/configure \ | |
f6d9281d MT |
37 | --prefix=/usr \ |
38 | --enable-compat185 \ | |
39 | --enable-cxx \ | |
40 | --disable-static | |
41 | ||
802ea3af MT |
42 | make %{PARALLELISMFLAGS} |
43 | end | |
44 | ||
45 | install | |
46 | cd %{DIR_APP}/build_unix | |
47 | make install DESTDIR=%{BUILDROOT} \ | |
48 | docdir=/usr/share/doc/%{thisapp} | |
49 | end | |
50 | end | |
f6d9281d | 51 | |
802ea3af MT |
52 | # XXX insert descriptions |
53 | packages | |
54 | package db4 | |
55 | files = /usr/lib*/libdb-%{version_major}.so | |
56 | end | |
57 | ||
58 | package db4-devel | |
59 | template DEVEL | |
60 | end | |
61 | ||
62 | package db4-utils | |
63 | files = /usr/bin | |
64 | end | |
65 | ||
66 | package db4-cxx | |
67 | files = /usr/lib*/libdb_cxx-%{version_major}.so | |
68 | end | |
69 | end |