]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame - db4/db4.nm
bzip2: Fix soname and building with CFLAGS.
[people/arne_f/ipfire-3.x.git] / db4 / db4.nm
CommitLineData
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
6name = db
7version_major = 4.7
8version_minor = 25
9version = %{version_major}.%{version_minor}
10release = 1
11epoch = 1
f6d9281d 12
24d34be6
MT
13# Never update this to major version 5.
14
802ea3af
MT
15maintainer = Michael Tremer <michael.tremer@ipfire.org>
16groups = System/Libraries
17url = http://www.oracle.com/technology/products/berkeley-db/
18license = Proprietary
19summary = Berkeley DB is a library that provides an embedded database.
f6d9281d 20
802ea3af 21description
18c2f386 22 Berkeley DB (BDB) is a computer software library that provides
f6d9281d 23 a high-performance embedded database.
802ea3af 24end
f6d9281d 25
18c2f386 26source_dl = http://download.oracle.com/berkeley-db/
bf2de166 27
802ea3af
MT
28build
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
50end
f6d9281d 51
802ea3af
MT
52packages
53 package db4
802ea3af
MT
54
55 package db4-devel
56 template DEVEL
18c2f386
SS
57
58 files += \
59 !/usr/lib*/libdb-%{version_major}.so
802ea3af
MT
60 end
61
62 package db4-utils
18c2f386
SS
63 summary = Command line tools for managing Berkeley DB (version 4) databases.
64 description = %{summary}
65
66 files
67 /usr/bin
68 end
802ea3af
MT
69 end
70
71 package db4-cxx
18c2f386
SS
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
802ea3af
MT
78 end
79end