[aa283c0] | 1 | <!-- $Id$ -->
|
---|
[945ccaa] | 2 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
| 3 | <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
[2758d94] | 4 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 5 | <!ENTITY porg-version "0.10">
|
---|
| 6 | <!ENTITY porg-url "https://sourceforge.net/projects/porg/files/porg-&porg-version;.tar.gz">
|
---|
| 7 | <!ENTITY porg-md5 "2eceb8a73bb188dbb06b12d90cabdbb4">
|
---|
| 8 | ]>
|
---|
[945ccaa] | 9 |
|
---|
| 10 | <article>
|
---|
| 11 |
|
---|
| 12 | <sect1 id="package">
|
---|
| 13 | <title>Package Information</title>
|
---|
[2758d94] | 14 | <para>Download: <ulink url="&porg-url;"/></para>
|
---|
| 15 | <para>MD5 sum: <literal>&porg-md5;</literal></para>
|
---|
[945ccaa] | 16 | </sect1>
|
---|
| 17 |
|
---|
| 18 | <sect1 id="ch-tools-pkgmngt" role="wrap">
|
---|
| 19 | <?dbhtml filename="porg.html"?>
|
---|
[2758d94] | 20 |
|
---|
| 21 | <sect1info condition="script">
|
---|
| 22 | <productname>porg</productname>
|
---|
| 23 | <productnumber>&porg-version;</productnumber>
|
---|
| 24 | <address>&porg-url;</address>
|
---|
| 25 | </sect1info>
|
---|
| 26 |
|
---|
[945ccaa] | 27 | <title>Porg in tools</title>
|
---|
| 28 | <sect2 role="installation">
|
---|
| 29 | <title>Instructions</title>
|
---|
| 30 | <screen><userinput remap="configure">./configure --prefix=/tools \
|
---|
| 31 | --disable-grop \
|
---|
| 32 | --with-porg-logdir=/tools/var/porg</userinput></screen>
|
---|
| 33 |
|
---|
| 34 | <para>
|
---|
| 35 | <parameter>--disable-grop</parameter> is needed to prevent the sytem from
|
---|
| 36 | trying to build the graphical interface, and
|
---|
| 37 | <parameter>--with-porg-logdir=...</parameter> is needed because
|
---|
| 38 | <command>make install</command> insists on creating a directory in
|
---|
| 39 | <filename class="directory">/var</filename>, where we do not want
|
---|
| 40 | to write.
|
---|
| 41 | </para>
|
---|
| 42 |
|
---|
| 43 | <screen><userinput remap="make">make</userinput></screen>
|
---|
| 44 |
|
---|
| 45 | <screen><userinput remap="install">make install</userinput></screen>
|
---|
| 46 |
|
---|
| 47 | <screen><userinput>cat >> /tools/etc/porgrc << EOF
|
---|
| 48 | # Porg logdir on LFS system
|
---|
| 49 | LOGDIR=/var/lib/porg
|
---|
| 50 | EOF
|
---|
| 51 | sed -e '/EXCLUDE/{s/^#//;s@$@:/sources:/home@}' \
|
---|
| 52 | -i /tools/etc/porgrc</userinput></screen>
|
---|
| 53 |
|
---|
| 54 | </sect2>
|
---|
| 55 |
|
---|
| 56 | </sect1>
|
---|
| 57 |
|
---|
| 58 | <sect1 id="ch-pkgmngt-creatingdirs">
|
---|
| 59 |
|
---|
| 60 | <title>Directories</title>
|
---|
| 61 | <screen><userinput>mkdir -pv /var/lib/porg
|
---|
| 62 | mkdir -pv /var/lib/packages</userinput></screen>
|
---|
| 63 |
|
---|
| 64 | </sect1>
|
---|
| 65 | <sect1 id="ch-pkgmngt-createfiles">
|
---|
| 66 | <title>Files</title>
|
---|
| 67 | <para><command>porgball</command> needs <filename>porgrc</filename>
|
---|
| 68 | in <filename class="directory">/etc</filename>:</para>
|
---|
| 69 | <screen><userinput>cp /tools/etc/porgrc /etc</userinput></screen>
|
---|
| 70 | </sect1>
|
---|
| 71 |
|
---|
| 72 | <sect1 id="ch-system-pkgmngt" role="wrap">
|
---|
| 73 | <?dbhtml filename="porg.html"?>
|
---|
[2758d94] | 74 |
|
---|
| 75 | <sect1info condition="script">
|
---|
| 76 | <productname>porg</productname>
|
---|
| 77 | <productnumber>&porg-version;</productnumber>
|
---|
| 78 | <address>&porg-url;</address>
|
---|
| 79 | </sect1info>
|
---|
| 80 |
|
---|
[945ccaa] | 81 | <title>Final Porg</title>
|
---|
| 82 | <sect2 role="installation">
|
---|
| 83 | <title>Instructions</title>
|
---|
| 84 |
|
---|
| 85 | <screen><userinput remap="configure">./configure --prefix=/usr \
|
---|
| 86 | --disable-grop \
|
---|
| 87 | --sysconfdir=/etc \
|
---|
| 88 | --with-porg-logdir=/var/lib/porg</userinput></screen>
|
---|
| 89 |
|
---|
| 90 | <screen><userinput remap="make">make</userinput></screen>
|
---|
| 91 |
|
---|
[b71e3ad] | 92 | <screen><userinput remap="install">porg -lD "make install
|
---|
| 93 | mv /etc/bash_completion.d/porg* /usr/share/bash-completion/completions"</userinput></screen>
|
---|
[945ccaa] | 94 |
|
---|
| 95 | <screen><userinput>sed -e '/EXCLUDE/{s/^#//;s@$@:/sources:/home@}' \
|
---|
| 96 | -i /etc/porgrc</userinput></screen>
|
---|
| 97 | </sect2>
|
---|
| 98 |
|
---|
| 99 | </sect1>
|
---|
| 100 | </article>
|
---|