dev-db/pg_background: new package

Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
Miroslav Šulc
2024-06-15 00:09:12 +02:00
parent d1b3ef59d9
commit a144f47d69
3 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST pg_background-1.2.tar.gz 30870 BLAKE2B 809a66ddbe989fe0503f3c5fefd088e8c11338e3cbe44fd5ce0c5c3967a46339a60546d38d3177cc7382c6efd4cf76ca8207f0ab1c668f5582529e5e3229c4b7 SHA512 f4449eae750451286aa5bc8ffd941d2aeb75ff9801f0ed1d902674dfd362eab1ed72783c86ae1b8058dd8e995b441fd669409989cb69fcb237414422cd1b63af

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>fordfrog@gentoo.org</email>
<name>Miroslav Šulc</name>
</maintainer>
<upstream>
<remote-id type="github">vibhorkum/pg_background</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,30 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
POSTGRES_COMPAT=( 13 14 15 16 )
inherit postgres-multi
DESCRIPTION="Postgres Background Worker"
HOMEPAGE="https://github.com/vibhorkum/pg_background"
SRC_URI="https://github.com/vibhorkum/pg_background/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT=0
KEYWORDS="~amd64"
RESTRICT="test"
DEPEND="${POSTGRES_DEP}"
RDEPEND="${DEPEND}"
src_compile() {
postgres-multi_foreach emake || die "emake failed"
}
src_install() {
postgres-multi_foreach emake DESTDIR="${D}" install
}