Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vaeth/portage-bashrc-mv
Provide support for /etc/portage/bashrc.d and /etc/portage/package.cflags for the portage package manager (Gentoo Linux)
https://github.com/vaeth/portage-bashrc-mv
cflags gentoo hacks initscript patches portage
Last synced: 29 days ago
JSON representation
Provide support for /etc/portage/bashrc.d and /etc/portage/package.cflags for the portage package manager (Gentoo Linux)
- Host: GitHub
- URL: https://github.com/vaeth/portage-bashrc-mv
- Owner: vaeth
- Created: 2011-12-18T14:58:35.000Z (about 13 years ago)
- Default Branch: main
- Last Pushed: 2024-08-17T04:55:14.000Z (5 months ago)
- Last Synced: 2024-08-17T05:43:05.050Z (5 months ago)
- Topics: cflags, gentoo, hacks, initscript, patches, portage
- Language: Shell
- Homepage: http://www.mathematik.uni-wuerzburg.de/~vaeth/gentoo/index.html#portage-bashrc
- Size: 146 KB
- Stars: 30
- Watchers: 7
- Forks: 9
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: NEWS
- Authors: AUTHORS
Awesome Lists containing this project
README
# portage-bashrc-mv
(C) Martin Väth
The license of this project is the GNU Public License GPL-2.
SPDX-License-Identifier: GPL-2.0-onlyThe portage-bashrc-mv project is meant to be used with the
gentoo portage system and serves two purposes.1. It provides support for an `/etc/portage/bashrc.d` directory in which
you can define functions which are executed during emerge phases.
2. It provides the following functionality in `/etc/portage/bashrc.d`
- Support for an `/etc/portage/package.cflags` file (or directory)
in which you can easily execute tasks or modify variables like CFLAGS
on a per-package basis.
This is similar to using `/etc/portage/env` but has a more
convenient syntax for e.g. modifying `CFLAGS`.
There is also a special flag filtering for non-GNU compilers
(mainly clang).
Moreover, pgo (profile-guided optimization) is supported.
- Support for removing undesired `.la` files before installation
- Support for removing undesired locales before installation
- Support for `CCACHE_*` variables.
- Output of time information and title bar if
`app-portage/portage-utils` and `app-shells/runtitle`
(the latter from the mv overlay) are installed.See `bashrc.d/README` for more details.
For installation, just copy `bashrc` and `bashrc.d` into `/etc/portage`.
There is also an ebuild in the `mv` repository
(available by `app-select/eselect-repository` or `app-portage/layman`).