Diff psutils-1.17-r5 with a psutils-2.09
| /usr/portage/app-text/psutils/psutils-2.09.ebuild 2024-12-25 14:59:47.755270056 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2022 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 |
inherit toolchain-funcs |
|
| 7 | ||
| 8 | 6 |
DESCRIPTION="PostScript Utilities" |
| 9 |
HOMEPAGE="http://web.archive.org/web/20110722005140/http://www.tardis.ed.ac.uk/~ajcd/psutils/" |
|
| 10 |
SRC_URI="mirror://debian/pool/main/p/${PN}/${PN}_${PV}.dfsg.orig.tar.gz"
|
|
| 11 |
S="${WORKDIR}/${P}.orig"
|
|
| 7 |
HOMEPAGE="https://github.com/rrthomas/psutils http://web.archive.org/web/20110722005140/http://www.tardis.ed.ac.uk/~ajcd/psutils/" |
|
| 8 |
SRC_URI="https://github.com/rrthomas/psutils/releases/download/v${PV}/${P}.tar.gz"
|
|
| 12 | 9 | |
| 13 |
LICENSE="psutils" |
|
| 10 |
LICENSE="GPL-3+" |
|
| 14 | 11 |
SLOT="0" |
| 15 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" |
|
| 16 | ||
| 17 |
BDEPEND="dev-lang/perl" |
|
| 18 | ||
| 19 |
PATCHES=( |
|
| 20 |
"${FILESDIR}"/${P}-makefile.patch
|
|
| 21 |
"${FILESDIR}"/${P}-no-fixmacps.patch
|
|
| 22 |
"${FILESDIR}"/${P}-clang-implicit-int.patch
|
|
| 23 |
) |
|
| 24 | ||
| 25 |
src_compile() {
|
|
| 26 |
emake -f Makefile.unix CC="$(tc-getCC)" |
|
| 27 |
} |
|
| 12 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" |
|
| 28 | 13 | |
| 29 |
src_install() {
|
|
| 30 |
dodir /usr/{bin,share/man}
|
|
| 31 |
emake -f Makefile.unix DESTDIR="${D}" install
|
|
| 32 |
dodoc README |
|
| 33 |
} |
|
| 14 |
# Newer libpaper needed for fork which provides 'paper' |
|
| 15 |
RDEPEND=" |
|
| 16 |
>=app-text/libpaper-1.2.3 |
|
| 17 |
>=dev-lang/perl-5.14 |
|
| 18 |
dev-perl/IPC-Run3 |
|
| 19 |
" |
|
| 20 |
BDEPEND="${RDEPEND}"
|
|