1 ###############################################################################
3 # IPFire.org - A linux based firewall #
4 # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
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. #
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. #
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/>. #
19 ###############################################################################
21 ###############################################################################
23 ###############################################################################
25 include $(PKGROOT)/Include
30 PKG_VER = $(PKG_VER_MAJ).$(PKG_VER_MIN)
34 # Never update this to major version 5.
36 PKG_MAINTAINER = Michael Tremer <michael.tremer@ipfire.org>
37 PKG_GROUP = System/Libraries
38 PKG_URL = http://www.oracle.com/technology/products/berkeley-db/
39 PKG_LICENSE = Proprietary
40 PKG_SUMMARY = Berkeley DB is a library that provides an embedded database.
42 PKG_BUILD_DEPS+= gcc-c++
44 define PKG_DESCRIPTION
45 Berkeley DB (BDB) is a computer software library that provides \
46 a high-performance embedded database.
49 PKG_TARBALL = $(THISAPP).tar.gz
51 PKG_PACKAGES = $(PKG_NAME_REAL)-devel $(PKG_NAME_REAL)-utils \
52 $(PKG_NAME_REAL) $(PKG_NAME_REAL)-cxx
54 PKG_FILES = /usr/lib/libdb-$(PKG_VER_MAJ).so
55 PKG_FILES-$(PKG_NAME_REAL)-cxx = /usr/lib/libdb_cxx-$(PKG_VER_MAJ).so
56 PKG_FILES-$(PKG_NAME_REAL)-devel = /usr/include /usr/lib
57 PKG_FILES-$(PKG_NAME_REAL)-utils = /usr/bin
60 cd $(DIR_APP)/build_unix && \
68 cd $(DIR_APP)/build_unix && make $(PARALLELISMFLAGS)
72 cd $(DIR_APP)/build_unix && make install DESTDIR=$(BUILDROOT) \
73 docdir=/usr/share/doc/$(THISAPP)