Skip to content

Commit c4ab409

Browse files
committed
pgbackrest: use meson eclass
1 parent 8b757d0 commit c4ab409

File tree

2 files changed

+18
-8
lines changed

2 files changed

+18
-8
lines changed

dev-db/pgbackrest/pgbackrest-2.53.0.ebuild

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
EAPI=8
55

6+
inherit meson
7+
68
DESCRIPTION="Simple, reliable, scalable backup solution to postgres"
79
HOMEPAGE="https://pgbackrest.org/"
810
SRC_URI="https://github.com/${PN}/${PN}/archive/release/${PV}.tar.gz -> ${P}.tar.gz"
@@ -24,16 +26,21 @@ DEPEND="
2426
app-arch/bzip2
2527
dev-libs/openssl
2628
dev-libs/libxml2
29+
net-libs/libssh2
2730
>=app-arch/zstd-1.0
2831
"
2932

3033
RDEPEND="${DEPEND}"
3134

32-
BDEPEND="dev-libs/libyaml"
35+
BDEPEND="
36+
dev-libs/libyaml
37+
>=dev-build/meson-0.47
38+
"
3339

34-
S="${WORKDIR}/${PN}-release-${PV}/src"
40+
S="${WORKDIR}/${PN}-release-${PV}"
3541

3642
src_install() {
43+
meson_src_install
3744
# install base configuration
3845
dodir /etc/"${PN}"
3946
insinto /etc/"${PN}"
@@ -51,6 +58,4 @@ src_install() {
5158

5259
newinitd "${FILESDIR}/${PN}.initd" ${PN}
5360
newconfd "${FILESDIR}/${PN}.confd" ${PN}
54-
55-
default
5661
}

dev-db/pgbackrest/pgbackrest-2.57.0.ebuild

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
EAPI=8
55

6+
inherit meson
7+
68
DESCRIPTION="Simple, reliable, scalable backup solution to postgres"
79
HOMEPAGE="https://pgbackrest.org/"
810
SRC_URI="https://github.com/${PN}/${PN}/archive/release/${PV}.tar.gz -> ${P}.tar.gz"
@@ -24,16 +26,21 @@ DEPEND="
2426
app-arch/bzip2
2527
dev-libs/openssl
2628
dev-libs/libxml2
29+
net-libs/libssh2
2730
>=app-arch/zstd-1.0
2831
"
2932

3033
RDEPEND="${DEPEND}"
3134

32-
BDEPEND="dev-libs/libyaml"
35+
BDEPEND="
36+
dev-libs/libyaml
37+
>=dev-build/meson-0.47
38+
"
3339

34-
S="${WORKDIR}/${PN}-release-${PV}/src"
40+
S="${WORKDIR}/${PN}-release-${PV}"
3541

3642
src_install() {
43+
meson_src_install
3744
# install base configuration
3845
dodir /etc/"${PN}"
3946
insinto /etc/"${PN}"
@@ -51,6 +58,4 @@ src_install() {
5158

5259
newinitd "${FILESDIR}/${PN}.initd" ${PN}
5360
newconfd "${FILESDIR}/${PN}.confd" ${PN}
54-
55-
default
5661
}

0 commit comments

Comments
 (0)