mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08: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>
27 lines
717 B
Bash
27 lines
717 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
MY_P="buildsystem-${PV}"
|
|
DESCRIPTION="Build system used for netsurf and its libraries"
|
|
HOMEPAGE="https://www.netsurf-browser.org"
|
|
SRC_URI="https://download.netsurf-browser.org/libs/releases/${MY_P}.tar.gz"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
|
|
|
|
S="${WORKDIR}/${MY_P}"
|
|
|
|
src_prepare() {
|
|
default
|
|
sed -e 's:/bin/which:which:' -i "makefiles/Makefile.tools" || die
|
|
}
|
|
|
|
src_install() {
|
|
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
|
|
insinto /usr/share/netsurf-buildsystem
|
|
newins "${FILESDIR}/gentoo-helpers-r2.sh" gentoo-helpers.sh
|
|
}
|