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