aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'eclass-reference/rpm.eclass/text.xml')
-rw-r--r--eclass-reference/rpm.eclass/text.xml78
1 files changed, 78 insertions, 0 deletions
diff --git a/eclass-reference/rpm.eclass/text.xml b/eclass-reference/rpm.eclass/text.xml
new file mode 100644
index 0000000..5dd7e1e
--- /dev/null
+++ b/eclass-reference/rpm.eclass/text.xml
@@ -0,0 +1,78 @@
+<?xml version="1.0"?>
+<guide self="eclass-reference/rpm.eclass/">
+<chapter>
+<title><c>rpm.eclass</c> Reference</title>
+<body>
+
+<p>
+The <c>rpm</c> eclass provides RPM unpacking services for packages that must
+extract a source tarball from an RPM.
+</p>
+
+<subsection>
+<title><c>rpm.eclass</c> Variables</title>
+<body>
+
+<table>
+ <tr>
+ <th>
+ Variables
+ </th>
+ <th>
+ Details
+ </th>
+ </tr>
+ <tr>
+ <ti>
+ <c>USE_RPMOFFSET_ONLY</c>
+ </ti>
+ <ti>
+ <c>rpm_unpack</c> normally will use rpm2cpio over rpmoffset if both exist.
+ If this variable is set to 1, <c>rpm_unpack</c> will use rpmoffset.
+ </ti>
+ </tr>
+</table>
+
+</body>
+</subsection>
+
+<subsection>
+<title><c>rpm.eclass</c> Functions</title>
+<body>
+
+<table>
+ <tr>
+ <th>
+ Functions
+ </th>
+ <th>
+ Details
+ </th>
+ </tr>
+ <tr>
+ <ti>
+ <c>rpm_unpack</c> <e>&lt;file&gt;</e>
+ </ti>
+ <ti>
+ Unpacks an RPM. Behaves in the same fashion as <c>unpack</c>
+ (see <uri link="::ebuild-writing/functions/src_unpack"/>).
+ </ti>
+ </tr>
+ <tr>
+ <ti>
+ <c>rpm_src_unpack</c>
+ </ti>
+ <ti>
+ Default <c>src_unpack</c> that loops through <c>${A}</c>
+ calling <c>rpm_unpack</c> for RPM's and <c>unpack</c> for
+ everything else.
+ </ti>
+ </tr>
+</table>
+
+</body>
+</subsection>
+
+</body>
+</chapter>
+</guide>