]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blob - db4/db4.nm
Merge remote-tracking branch 'stevee/db4'
[people/arne_f/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 = db
7 version_major = 4.7
8 version_minor = 25
9 version = %{version_major}.%{version_minor}
10 release = 1
11 epoch = 1
12
13 # Never update this to major version 5.
14
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.
20
21 description
22 Berkeley DB (BDB) is a computer software library that provides
23 a high-performance embedded database.
24 end
25
26 source_dl = http://download.oracle.com/berkeley-db/
27
28 build
29 requires
30 gcc-c++
31 end
32
33 build
34 cd %{DIR_APP}/build_unix
35 CC=gcc \
36 ../dist/configure \
37 --prefix=/usr \
38 --enable-compat185 \
39 --enable-cxx \
40 --disable-static
41
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
51
52 packages
53 package db4
54
55 package db4-devel
56 template DEVEL
57
58 files += \
59 !/usr/lib*/libdb-%{version_major}.so
60 end
61
62 package db4-utils
63 summary = Command line tools for managing Berkeley DB (version 4) databases.
64 description = %{summary}
65
66 files
67 /usr/bin
68 end
69 end
70
71 package db4-cxx
72 summary = The Berkeley DB database library (version 4) for C++.
73 description = %{summary}
74
75 files
76 /usr/lib*/libdb_cxx-%{version_major}.so
77 end
78 end
79 end