]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame - pkgs/core/db/db.nm
New package: db.
[people/arne_f/ipfire-3.x.git] / pkgs / core / db / db.nm
CommitLineData
f6d9281d
MT
1###############################################################################
2# #
3# IPFire.org - A linux based firewall #
4# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
5# #
6# This program is free software: you can redistribute it and/or modify #
7# it under the terms of the GNU General Public License as published by #
8# the Free Software Foundation, either version 3 of the License, or #
9# (at your option) any later version. #
10# #
11# This program is distributed in the hope that it will be useful, #
12# but WITHOUT ANY WARRANTY; without even the implied warranty of #
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14# GNU General Public License for more details. #
15# #
16# You should have received a copy of the GNU General Public License #
17# along with this program. If not, see <http://www.gnu.org/licenses/>. #
18# #
19###############################################################################
20
21###############################################################################
22# Definitions
23###############################################################################
24
25include $(PKGROOT)/Include
26
27PKG_NAME = db
28PKG_VER = 4.7.25
29PKG_REL = 0
30
31PKG_MAINTAINER =
32PKG_GROUP = System/Libraries
33PKG_URL = http://www.oracle.com/technology/products/berkeley-db/
34PKG_LICENSE = Proprietary
35PKG_SUMMARY = Berkeley DB is a library that provides an embedded database.
36
37define PKG_DESCRIPTION
38 Berkeley DB (BDB) is a computer software library that provides \
39 a high-performance embedded database.
40endef
41
42PKG_TARBALL = $(THISAPP).tar.gz
43
44PKG_PATCHES += $(THISAPP)-upstream_fixes-1.patch
45
46###############################################################################
47# Installation Details
48###############################################################################
49
50define STAGE_BUILD
51 cd $(DIR_APP)/build_unix && \
52 CC=gcc \
53 ../dist/configure \
54 $(CONFIGURE_ARCH) \
55 --prefix=/usr \
56 --enable-compat185 \
57 --enable-cxx \
58 --disable-static
59
60 cd $(DIR_APP)/build_unix && make $(PARALLELISMFLAGS)
61endef
62
63define STAGE_INSTALL
64 cd $(DIR_APP)/build_unix && make install DESTDIR=$(BUILDROOT) \
65 docdir=$(BUILDROOT)/usr/share/doc/$(THISAPP)
66endef