mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-10 00:10:19 +03:00
Result of running the command: grep --include="*.ebuild" -r . -e 'KEYWORDS=.*[" ]sparc' -l | xargs ekeyword ~sparc Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
28 lines
680 B
Bash
28 lines
680 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit toolchain-funcs
|
|
|
|
DESCRIPTION="Generates a beautified ps document from a source file (c/c++)"
|
|
HOMEPAGE="https://www.cs.technion.ac.il/users/c2ps"
|
|
SRC_URI="https://www.cs.technion.ac.il/users/c2ps/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2+"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~mips ppc ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
|
IUSE=""
|
|
|
|
PATCHES=( "${FILESDIR}/${P}-LDFLAGS.patch" )
|
|
|
|
src_compile() {
|
|
emake CC="$(tc-getCC)" CCFLAGS="${CFLAGS}"
|
|
}
|
|
|
|
src_install() {
|
|
dodir /usr/bin /usr/share/man/man1
|
|
emake MAN="${ED}"/usr/share/man/man1 PREFIX="${ED}"/usr install
|
|
dodoc README
|
|
}
|