Conary:Recipe Templates
From rPath Wiki
The following templates reflect the most-commonly needed types of recipes. rPath encourages packagers to download and use these templates as a starting point for a new Conary recipe.
NOTE: See cvc Recipe Template if you are looking for information on the cvc command recipe template functionality.
Package Recipe Templates
Packages are managed units of software in Conary that represent a single application. Conary recipes cover three types of packages: source packages with source code provided, binary packages in which only binary files are provided, and derived packages for making small modifications to a previously assembled package.
BINARY FILES PROVIDED: Use the Recipe Template for Binary Files when only an installable binary file is provided. The Packaging Binaries page provides additional reference to aid with developing the package.
SOURCE CODE PROVIDED: Use one of the following templates that corresponds to the source code used in the package:
- Java App Template: Pre-compiled Java applications
- Simple C Source: Applications with source code in C, C++, and C# which require only the "simple" configure ; make ; make install sequence
- Complex C App Template: Applications with source code in C, C++, and C# which require additional considerations such as non-typical make files or particular build-time commands
- GNOME App Template: GNOME Applications
- Python App Template: Applications with Python source code
- CPAN Perl App Template: Perl Applications from CPAN
- PHP App Template: Applications with PHP source code
- Ruby App Template: Applications with Ruby source code
- RPM Package Recipe: Applications provided in source RPM packages
- Cmake Package Recipe: Applications requiring Cmake configure scripts
CUSTOM KERNELS: See Custom Kernel Packages for instructions for checking out an existing kernel:source and modifying the packaged files and recipe as desired.
DERIVED PACKAGES: Derived packages allow packagers to make a relatively small modification to an original package recipe without recompiling the entire original source for the package. Derived package recipes only include those parts of the original recipe in which modifications are made. See this page for instructions and reference for derived packages: Derived Packages
REDIRECT PACKAGES: Redirect packages allow packagers to change locations or names of packages and provide a redirect to the updated name or location of that package: Redirect Packages
Group Recipe Template
Groups can be used to assemble one or more packages or groups or to create sub-groups. The result is a single installable unit which is managed together under a single group version. Use the following template to create group recipes:
Group recipe template
Info Recipe Templates
Info recipes are used to configure users and groups for a Conary-based system that are used for specific purposes by the installed applications. Use the following templates for user and group info recipes:
