forked from rosa/hakurei
internal/rosa/package: db
For iproute2. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
35
internal/rosa/package/db.az
Normal file
35
internal/rosa/package/db.az
Normal file
@@ -0,0 +1,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 {
|
||||
inPlace = true;
|
||||
configureName = "../dist/configure";
|
||||
forceAutoconf = true;
|
||||
configure = {
|
||||
"enable-cxx";
|
||||
"enable-compat185";
|
||||
"with-repmgr-ssl": "no";
|
||||
};
|
||||
check = [ "examples_c" ];
|
||||
postInstall = "rm -r /work/system/docs";
|
||||
};
|
||||
}
|
||||
@@ -41,6 +41,7 @@ package iproute2 {
|
||||
|
||||
libbpf,
|
||||
libmnl,
|
||||
db,
|
||||
libcap,
|
||||
kernel-headers,
|
||||
];
|
||||
@@ -48,6 +49,7 @@ package iproute2 {
|
||||
runtime = [
|
||||
libbpf,
|
||||
libmnl,
|
||||
db,
|
||||
libcap,
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user