Skip to content

Commit

Permalink
ebuild: add page (#2075)
Browse files Browse the repository at this point in the history
  • Loading branch information
owenvoke authored and sbrl committed May 10, 2018
1 parent 52a8e63 commit aec4263
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions pages/linux/ebuild.md
@@ -0,0 +1,35 @@
# ebuild

> A low level interface to the Gentoo Portage system.
- Create or update the package manifest:

`ebuild {{path/to/file.ebuild}} manifest`

- Clean the temporary build directories for the build file:

`ebuild {{path/to/file.ebuild}} clean`

- Fetch sources if they do not exist:

`ebuild {{path/to/file.ebuild}} fetch`

- Extract the sources to a temporary build directory:

`ebuild {{path/to/file.ebuild}} unpack`

- Compile the extracted sources:

`ebuild {{path/to/file.ebuild}} compile`

- Install the package to a temporary install directory:

`ebuild {{path/to/file.ebuild}} install`

- Install the temporary files to the live filesystem:

`ebuild {{path/to/file.ebuild}} qmerge`

- Fetch, unpack, compile, install and qmerge the specified ebuild file:

`ebuild {{path/to/file.ebuild}} merge`

0 comments on commit aec4263

Please sign in to comment.