From: Michael Tremer Date: Sun, 29 Nov 2009 23:16:53 +0000 (+0100) Subject: New package: db. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6d9281dd759b92f86f97f52bc7b0b6f65e9e83f;p=ipfire-3.x.git New package: db. --- diff --git a/pkgs/core/db/db.nm b/pkgs/core/db/db.nm new file mode 100644 index 000000000..72ab97e29 --- /dev/null +++ b/pkgs/core/db/db.nm @@ -0,0 +1,66 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include $(PKGROOT)/Include + +PKG_NAME = db +PKG_VER = 4.7.25 +PKG_REL = 0 + +PKG_MAINTAINER = +PKG_GROUP = System/Libraries +PKG_URL = http://www.oracle.com/technology/products/berkeley-db/ +PKG_LICENSE = Proprietary +PKG_SUMMARY = Berkeley DB is a library that provides an embedded database. + +define PKG_DESCRIPTION + Berkeley DB (BDB) is a computer software library that provides \ + a high-performance embedded database. +endef + +PKG_TARBALL = $(THISAPP).tar.gz + +PKG_PATCHES += $(THISAPP)-upstream_fixes-1.patch + +############################################################################### +# Installation Details +############################################################################### + +define STAGE_BUILD + cd $(DIR_APP)/build_unix && \ + CC=gcc \ + ../dist/configure \ + $(CONFIGURE_ARCH) \ + --prefix=/usr \ + --enable-compat185 \ + --enable-cxx \ + --disable-static + + cd $(DIR_APP)/build_unix && make $(PARALLELISMFLAGS) +endef + +define STAGE_INSTALL + cd $(DIR_APP)/build_unix && make install DESTDIR=$(BUILDROOT) \ + docdir=$(BUILDROOT)/usr/share/doc/$(THISAPP) +endef