Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 368704 Details for
Bug 417383
games.eclass: please move /etc/env.d/90games to a separate package
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
games-misc/gentoo-envd-0.ebuild
gentoo-envd-0.ebuild (text/plain), 1.60 KB, created by
Julian Ospald
on 2014-01-25 18:37:33 UTC
(
hide
)
Description:
games-misc/gentoo-envd-0.ebuild
Filename:
MIME Type:
Creator:
Julian Ospald
Created:
2014-01-25 18:37:33 UTC
Size:
1.60 KB
patch
obsolete
># Copyright 1999-2014 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI=3 > >inherit games > >DESCRIPTION="Environment file for gentoo games" >HOMEPAGE="http://www.gentoo.org/" >SRC_URI="" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" > >RDEPEND="" >DEPEND="" > >S=${WORKDIR} > >pkg_setup() { > games_pkg_setup > if [[ -z "${REPLACING_VERSIONS}" ]] ; then > if [[ "${EROOT%/}/etc/env.d/${GAMES_ENVD}" ]] ; then > old_envd="$(cat "${EROOT%/}/etc/env.d/${GAMES_ENVD}")" > rm -v "${EROOT%/}/etc/env.d/${GAMES_ENVD}" || die > fi > fi >} > >src_prepare() { > local d libdirs > > for d in $(get_all_libdirs) ; do > libdirs="${libdirs}:${GAMES_PREFIX}/${d}" > done > > cat <<-EOF > ${GAMES_ENVD} || die > LDPATH="${libdirs:1}" > PATH="${GAMES_BINDIR}" > EOF >} > >src_configure() { :; } > >src_compile() { :; } > >src_install() { > doenvd ${GAMES_ENVD} || die > gamesowners "${ED%/}"/etc/env.d/${GAMES_ENVD} || die > gamesperms "${ED%/}"/etc/env.d/${GAMES_ENVD} || die >} > >pkg_preinst() { :; } > >pkg_postinst() { > if [[ -z "${REPLACING_VERSIONS}" ]] ; then > if [[ ${old_envd} ]] ; then > elog "If you have previously modified /etc/env.d/${GAMES_ENVD}" > elog "then you have to reapply your changes since this file was" > elog "overwritten. The old content is:" > elog > elog "${old_envd}" > elog > fi > fi >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 417383
:
368704
|
368706
|
369356
|
369358
|
369390
|
370268