Diff catatonit-0.1.7 with a catatonit-0.1.7-r1
/usr/portage/app-containers/catatonit/catatonit-0.1.7-r1.ebuild 2023-10-09 14:52:28.216368318 +0300 | ||
---|---|---|
1 |
# Copyright 2022 Gentoo Authors |
|
1 |
# Copyright 2022-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 | 6 |
inherit autotools |
7 | 7 | |
8 | 8 |
DESCRIPTION="A container init that is so simple it's effectively brain-dead" |
9 | 9 |
HOMEPAGE="https://github.com/openSUSE/catatonit" |
10 |
SRC_URI="https://github.com/openSUSE/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz |
|
11 |
https://github.com/openSUSE/catatonit/pull/19.patch -> ${P}-automake.patch" |
|
10 |
if [[ ${PV} == *9999* ]]; then |
|
11 |
inherit git-r3 |
|
12 |
EGIT_REPO_URI="https://github.com/openSUSE/catatonit.git" |
|
13 |
else |
|
14 |
SRC_URI="https://github.com/openSUSE/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
|
15 |
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv" |
|
16 |
fi |
|
12 | 17 | |
13 | 18 |
LICENSE="GPL-3+" |
14 | 19 |
SLOT="0" |
15 |
KEYWORDS="amd64 arm64 ~ppc64 ~riscv" |
|
16 | ||
17 |
PATCHES=( "${DISTDIR}/${P}-automake.patch" ) |
|
18 | 20 | |
19 | 21 |
src_prepare() { |
20 | 22 |
default |
21 | ||
23 |
sed -i -e 's|^AM_INIT_AUTOMAKE$||;' configure.ac || die |
|
22 | 24 |
eautoreconf |
23 | 25 |
} |
24 | 26 | |
25 | 27 |
src_install() { |
26 | 28 |
default |
27 | 29 |
dodir /usr/libexec/podman |
28 |
ln "${ED}/usr/"{bin,libexec/podman}/catatonit || die |
|
30 |
dosym -r /usr/bin/"${PN}" /usr/libexec/podman/"${PN}" |
|
29 | 31 |
} |