Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions easybuild/easyconfigs/d/DB/DB-18.1.40-GCCcore-10.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# EasyBuild easyconfig
name = 'DB'
version = '18.1.40'

homepage = 'https://www.oracle.com/technetwork/products/berkeleydb'

description = """Berkeley DB enables the development of custom data management
solutions, without the overhead traditionally associated with such custom
projects."""

toolchain = {'name': 'GCCcore', 'version': '10.2.0'}

# use Homebrew source mirror to allow auto-downloading source tarball
# (Oracle website - https://www.oracle.com/technetwork/products/berkeleydb/downloads/ - requires reigstration)
source_urls = ['https://bintray.com/homebrew/mirror/download_file?file_path=']
sources = [{'download_filename': 'berkeley-db-%(version)s.tar.gz', 'filename': SOURCELOWER_TAR_GZ}]
patches = ['%(name)s-%(version)s_fix_doc_install.patch']
checksums = [
'0cecb2ef0c67b166de93732769abdeba0555086d51de1090df325e18ee8da9c8', # db-18.1.40.tar.gz
'441f48568156f72f02a8662998d293cc7edad687604b4f8af722f21c6db2a52d', # DB-18.1.40_fix_doc_install.patch
]

builddependencies = [('binutils', '2.35')]

sanity_check_paths = {
'files': ['bin/db_%s' % x for x in ['archive', 'checkpoint', 'convert', 'deadlock', 'dump', 'hotbackup',
'load', 'log_verify', 'printlog', 'recover', 'replicate', 'stat',
'tuner', 'upgrade', 'verify']] +
['include/db.h', 'lib/libdb.a', 'lib/libdb.%s' % SHLIB_EXT],
'dirs': [],
}

moduleclass = 'tools'
16 changes: 16 additions & 0 deletions easybuild/easyconfigs/d/DB/DB-18.1.40_fix_doc_install.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Neither bdb-sql nor gsg_db_server documentation is in db-18.1.40.tar.gz
so remove them from the installation
Patch by Simon Branford, University of Birmingham
--- dist/Makefile.in.orig 2020-10-09 14:38:54.261041000 +0100
+++ dist/Makefile.in 2020-10-09 14:39:21.587980661 +0100
@@ -1299,8 +1299,8 @@

# We install csharp docs even on UNIX so we don't have a
# broken link on the landing page.
-DOCLIST=api_reference articles bdb-sql collections csharp gsg \
- gsg_db_rep gsg_db_server gsg_txn index.html installation \
+DOCLIST=api_reference articles collections csharp gsg \
+ gsg_db_rep gsg_txn index.html installation \
java license porting programmer_reference upgrading

install_docs:
1 change: 1 addition & 0 deletions easybuild/easyconfigs/p/Perl/Perl-5.32.0-GCCcore-10.2.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ dependencies = [
('expat', '2.2.9'), # for XML::Parser
('ncurses', '6.2'), # for Term::ReadLine::Gnu
('libreadline', '8.0'), # for Term::ReadLine::Gnu
('DB', '18.1.40'), # for DB_File
]

# OpenSSL is required for Net::SSLeay
Expand Down