]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blob - pkgs/db4/db4.nm
Change file layout of the makefiles.
[people/arne_f/ipfire-3.x.git] / pkgs / 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 =
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 # 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