Package.yml: Add new Haskell actionable macros, document qmake macro and new qmake4 macro.

This commit is contained in:
Joshua Strobl 2017-02-24 01:47:31 +02:00
parent 56ece8d9fa
commit 51e07c5b52
No known key found for this signature in database
GPG Key ID: 3F6FD9A6B13E584D
1 changed files with 16 additions and 0 deletions

View File

@ -111,6 +111,15 @@ Macro | Description
**%apply_patches** | Applies all patches listed in the `series` file in `./files` folder. **%apply_patches** | Applies all patches listed in the `series` file in `./files` folder.
**%reconfigure** | Updates build scripts such as `./configure` and proceeds to run `%configure`. **%reconfigure** | Updates build scripts such as `./configure` and proceeds to run `%configure`.
#### Haskell Actionable Macros
Macro | Description
---- | ----
**%cabal_configure** | Runs cabal configure with prefix, libdir, etc. and ensures the necessary package.conf.d is copied to the correct location.
**%cabal_build** | Runs cabal build with `%JOBS%`
**%cabal_install** | Runs cabal copy to `$installdir`
**%cabal_register** | Runs cabal regiter to generate a pkg-config for package and version, then installs the conf file.
#### Meson Actionable Macros #### Meson Actionable Macros
Macro | Description Macro | Description
@ -136,6 +145,13 @@ Macro | Description
**%python3_setup** | Runs the build portion of a setup.py using python3. **%python3_setup** | Runs the build portion of a setup.py using python3.
**%python3_install** | Runs the install portion of a setup.py, to the appropriate root, using python3. **%python3_install** | Runs the install portion of a setup.py, to the appropriate root, using python3.
#### Qt Actionable Macros
Macro | Description
---- | ----
**%qmake** | Runs qmake for Qt5 with the appropriate make flags.
**%qmake4** | Runs qmake for Qt4, as well as adding the necessary MOC, RCC, and UIC flags since those Qt4 executables end in -qt4.
#### Variable Macros #### Variable Macros
Macro | Description Macro | Description