source: pkgmngt/packageManager.xml.porg@ 6622409

ablfs-more legacy trunk
Last change on this file since 6622409 was 619b313, checked in by Pierre Labastie <pierre@…>, 5 years ago

Various fixes and improvements coming from github:

  • the case for "pax" in packInstall.sh.prog
  • an error in packageManager.xml.porg (comment before <?xml?> tag)
  • a non-working $Id in Makefile
  • some fixes for using the sect1info in lfs (in BLFS tools)
  • a big rewrite for generating scripts with more consistent line spacing, opening the way to manage remap="test" and remap="doc" attributes
  • Property mode set to 100644
File size: 3.1 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!-- $Id$ -->
3<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
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]>
9
10<article>
11
12<sect1 id="package">
13 <title>Package Information</title>
14 <para>Download: <ulink url="&porg-url;"/></para>
15 <para>MD5 sum: <literal>&porg-md5;</literal></para>
16</sect1>
17
18<sect1 id="ch-tools-pkgmngt" role="wrap">
19 <?dbhtml filename="porg.html"?>
20
21 <sect1info condition="script">
22 <productname>porg</productname>
23 <productnumber>&porg-version;</productnumber>
24 <address>&porg-url;</address>
25 </sect1info>
26
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 &gt;&gt; /tools/etc/porgrc &lt;&lt; EOF
48# Porg logdir on LFS system
49LOGDIR=/var/lib/porg
50EOF
51sed -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
62mkdir -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"?>
74
75 <sect1info condition="script">
76 <productname>porg</productname>
77 <productnumber>&porg-version;</productnumber>
78 <address>&porg-url;</address>
79 </sect1info>
80
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
92<screen><userinput remap="install">porg -lD "make install
93mv /etc/bash_completion.d/porg* /usr/share/bash-completion/completions"</userinput></screen>
94
95<screen><userinput>sed -e '/EXCLUDE/{s/^#//;s@$@:/sources:/home@}' \
96 -i /etc/porgrc</userinput></screen>
97 </sect2>
98
99</sect1>
100</article>
Note: See TracBrowser for help on using the repository browser.