From: Michael Tremer Date: Thu, 2 Sep 2010 23:29:33 +0000 (+0200) Subject: db: Update package to be built with the new version of the buildsystem. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf2de166c4b5a5be196a27ccf9e81fa6a28c2a45;p=ipfire-3.x.git db: Update package to be built with the new version of the buildsystem. --- diff --git a/pkgs/core/db/db.nm b/pkgs/core/db/db.nm index 392b73ab6..de0c54c01 100644 --- a/pkgs/core/db/db.nm +++ b/pkgs/core/db/db.nm @@ -25,7 +25,9 @@ include $(PKGROOT)/Include PKG_NAME = db -PKG_VER = 4.7.25 +PKG_VER_MAJ = 4.7 +PKG_VER_MIN = 25 +PKG_VER = $(PKG_VER_MAJ).$(PKG_VER_MIN) PKG_REL = 0 PKG_MAINTAINER = @@ -34,6 +36,8 @@ 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. +PKG_BUILD_DEPS+= gcc-c++ + define PKG_DESCRIPTION Berkeley DB (BDB) is a computer software library that provides \ a high-performance embedded database. @@ -41,9 +45,12 @@ endef PKG_TARBALL = $(THISAPP).tar.gz -############################################################################### -# Installation Details -############################################################################### +PKG_PACKAGES = $(PKG_NAME)-devel $(PKG_NAME)-utils $(PKG_NAME) $(PKG_NAME)-cxx + +PKG_FILES = /usr/lib/libdb-$(PKG_VER_MAJ).so +PKG_FILES-$(PKG_NAME)-cxx = /usr/lib/libdb_cxx-$(PKG_VER_MAJ).so +PKG_FILES-$(PKG_NAME)-devel = /usr/include /usr/lib +PKG_FILES-$(PKG_NAME)-utils = /usr/bin define STAGE_BUILD cd $(DIR_APP)/build_unix && \