]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - pkgs/db4/db4.nm
Change file layout of the makefiles.
[people/ms/ipfire-3.x.git] / pkgs / 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
f6d9281d
MT
22 Berkeley DB (BDB) is a computer software library that provides \
23 a high-performance embedded database.
802ea3af 24end
f6d9281d 25
802ea3af 26source_dl =
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
52# XXX insert descriptions
53packages
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
69end