Add YJOBS and version variable macros. Organized version macros.

This commit is contained in:
Joshua Strobl 2017-09-27 15:33:30 +03:00
parent 6374fcee68
commit 004ae9434a
1 changed files with 7 additions and 5 deletions

View File

@ -1,6 +1,6 @@
+++ +++
title = "Package.yml" title = "Package.yml"
lastmod = "2017-07-08T17:51:19+03:00" lastmod = "2017-09-27T15:32:14+03:00"
+++ +++
# Package.yml # Package.yml
@ -155,15 +155,17 @@ Macro | Description
Macro | Description Macro | Description
---- | ---- ---- | ----
**%ARCH%** | Indicates the current build architecture. **%ARCH%** | Indicates the current build architecture.
**%CONFOPTS%** | Flags / options for configuration, such as `--prefix=/usr`. [Full List.](https://github.com/solus-project/ypkg/blob/master/ypkg2/rc.yml#L127-L130)
**%CFLAGS%** | cflags as set in `eopkg.conf`
**%CXXFLAGS%** | cxxflags as set in `eopkg.conf`
**%LDFLAGS%** | ldflags as set in `eopkg.conf`
**%CC%** | C compiler **%CC%** | C compiler
**%CFLAGS%** | cflags as set in `eopkg.conf`
**%CONFOPTS%** | Flags / options for configuration, such as `--prefix=/usr`. [Full List.](https://github.com/solus-project/ypkg/blob/master/ypkg2/rc.yml#L127-L130)
**%CXX%** | C++ compiler **%CXX%** | C++ compiler
**%CXXFLAGS%** | cxxflags as set in `eopkg.conf`
**%JOBS%** | jobs, as set in `eopkg.conf` **%JOBS%** | jobs, as set in `eopkg.conf`
**%LDFLAGS%** | ldflags as set in `eopkg.conf`
**%YJOBS%** | Job count without `-j` as set in `eopkg.conf`
**%installroot%** | Hard-coded install directory **%installroot%** | Hard-coded install directory
**%libdir%** | The distributions default library directory, i.e. `/usr/lib64` (Alters for `emul32`) **%libdir%** | The distributions default library directory, i.e. `/usr/lib64` (Alters for `emul32`)
**%version%** | Version of the package, as specified in the version key.
**%workdir%** | Hard-coded work directory (source tree) **%workdir%** | Hard-coded work directory (source tree)
## Variables ## Variables