Diff aboot-2.0_pre20210801 with a aboot-9999
| /usr/portage/sys-boot/aboot/aboot-9999.ebuild 2026-09-07 20:03:07.399238579 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2022 Gentoo Authors |
|
| 1 |
# Copyright 1999-2026 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 toolchain-funcs |
| 7 | 7 | |
| 8 |
if [[ ${PV} = 9999* ]]; then
|
|
| 9 |
EGIT_REPO_URI="https://github.com/mattst88/${PN}.git"
|
|
| 8 |
DESCRIPTION="Alpha Linux boot loader for SRM" |
|
| 9 |
HOMEPAGE="https://github.com/alphalinux-org/aboot" |
|
| 10 | ||
| 11 |
if [[ ${PV} == 9999 ]] ; then
|
|
| 10 | 12 |
inherit git-r3 |
| 13 |
EGIT_REPO_URI="https://github.com/alphalinux-org/${PN}.git"
|
|
| 11 | 14 |
else |
| 12 |
COMMIT_ID="dde7f7b85f7631668f1da7c0b0ecf7ddbbde004e" |
|
| 13 |
SRC_URI="https://github.com/mattst88/${PN}/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz"
|
|
| 14 |
S="${WORKDIR}/${PN}-${COMMIT_ID}"
|
|
| 15 |
SRC_URI="https://github.com/alphalinux-org/${PN}/archive/refs/tags/${P}.tar.gz"
|
|
| 16 |
S="${WORKDIR}/${PN}-${P}"
|
|
| 15 | 17 |
KEYWORDS="-* ~alpha" |
| 16 | 18 |
fi |
| 17 | 19 | |
| 18 |
DESCRIPTION="Alpha Linux boot loader for SRM" |
|
| 19 |
HOMEPAGE="https://github.com/mattst88/aboot https://sourceforge.net/projects/aboot/" |
|
| 20 | ||
| 21 | 20 |
LICENSE="GPL-2" |
| 22 | 21 |
SLOT="0" |
| 23 | 22 | |
| ... | ... | |
| 25 | 24 | |
| 26 | 25 |
src_compile() {
|
| 27 | 26 |
emake AR="$(tc-getAR)" CC="$(tc-getCC)" LD="$(tc-getLD)" \ |
| 27 |
HOSTCC="$(tc-getBUILD_CC)" HOSTCFLAGS="${BUILD_CFLAGS}" \
|
|
| 28 | 28 |
all netabootwrap |
| 29 | 29 | |
| 30 | 30 |
einfo "Building man pages" |
| ... | ... | |
| 38 | 38 |
insinto /boot |
| 39 | 39 |
doins net_aboot.nh |
| 40 | 40 |
dobin netabootwrap |
| 41 |
dodoc ChangeLog INSTALL README TODO aboot.conf |
|
| 41 |
dodoc INSTALL README.md aboot.conf |
|
| 42 | 42 | |
| 43 | 43 |
insinto /etc |
| 44 | 44 |
newins "${FILESDIR}"/aboot.conf aboot.conf.example
|
| 45 | ||
| 46 | 45 |
} |
| 47 | 46 | |
| 48 | 47 |
pkg_postinst() {
|