Diff eclass-manpages-20250711 with a eclass-manpages-99999999
| /usr/portage/app-doc/eclass-manpages/eclass-manpages-99999999.ebuild 2024-12-25 15:56:32.826984523 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2025 Gentoo Authors |
|
| 1 |
# Copyright 1999-2023 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| 5 | 5 | |
| 6 |
# Instructions to make a dist tarball: |
|
| 7 |
# git clone https://github.com/projg2/eclass-to-manpage.git |
|
| 8 |
# cd eclass-to-manpage |
|
| 9 |
# make dist ECLASSDIR=~/g/eclass/ |
|
| 6 |
inherit git-r3 |
|
| 10 | 7 | |
| 11 | 8 |
DESCRIPTION="Collection of Gentoo eclass manpages" |
| 12 | 9 |
HOMEPAGE="https://github.com/projg2/eclass-to-manpage" |
| 13 |
SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz"
|
|
| 10 |
EGIT_REPO_URI="https://anongit.gentoo.org/git/repo/gentoo.git |
|
| 11 |
https://github.com/gentoo/gentoo.git" |
|
| 14 | 12 | |
| 15 | 13 |
LICENSE="GPL-2" |
| 16 | 14 |
SLOT="0" |
| 17 |
# Keep the keywords stable. No need to change to ~arch. |
|
| 18 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" |
|
| 19 | 15 | |
| 20 | 16 |
BDEPEND="sys-apps/gawk" |
| 21 | 17 | |
| 18 |
src_unpack() {
|
|
| 19 |
git-r3_fetch |
|
| 20 |
git-r3_fetch "https://github.com/projg2/eclass-to-manpage.git" |
|
| 21 | ||
| 22 |
git-r3_checkout "" "" "" eclass |
|
| 23 |
git-r3_checkout "https://github.com/projg2/eclass-to-manpage.git" |
|
| 24 |
} |
|
| 25 | ||
| 26 |
src_compile() {
|
|
| 27 |
emake ECLASSDIR=eclass |
|
| 28 |
} |
|
| 29 | ||
| 22 | 30 |
src_install() {
|
| 23 |
emake install DESTDIR="${D}" PREFIX="${EPREFIX}/usr"
|
|
| 31 |
emake install ECLASSDIR=eclass DESTDIR="${D}" PREFIX="${EPREFIX}/usr"
|
|
| 24 | 32 |
} |