aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/db.az
blob: d4f9fe4d9ef951446e0d2b47d094bf062219b28e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package db {
	description = "Berkeley DB";
	website = "https://www.oracle.com/database/technologies/related/berkeleydb.html";
	anitya = 1587;

	version# = "18.1.40";
	source = remoteTar {
		url = "https://download.oracle.com/berkeley-db/db-"+version+".tar.gz";
		checksum = "26i6UfgNxPVzS7kr37Q9-9feeCiQ825qRi8uvn2oG4AngOXHcFoSGDijckKvWSH7";
		compress = gzip;
	};

	writable = true;
	chmod = true;
	early = `
cd build_unix
# broken install target
touch \
	../docs/bdb-sql \
	../docs/gsg_db_server
`;

	exec = make {
		chdir = false;
		configureName = "../dist/configure";
		forceAutoconf = true;
		configure = {
			"enable-cxx";
			"enable-compat185";
			"with-repmgr-ssl": "no";
		};
		check = [ "examples_c" ];
		postInstall = "rm -r /work/system/docs";
	};
}