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