source: pkgmngt/packageManager.xml.porg@ e042e91

new_features
Last change on this file since e042e91 was df42c7c, checked in by Pierre Labastie <pierre@…>, 8 years ago

Porg style package management:

  • Add new variable WRAP_INSTALL in COnfig.in and jhalfs
  • Generates the install commands inside a wrapper function
  • Add files packInstall.sh.porg and packageManager.xml.porg
  • TODO: update README.PACKAGE...
  • TODO: make new templates in pkgmngt and document them
  • Property mode set to 100644
File size: 2.5 KB
Line 
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 &gt;&gt; /tools/etc/porgrc &lt;&lt; EOF
36# Porg logdir on LFS system
37LOGDIR=/var/lib/porg
38EOF
39sed -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
50mkdir -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>
Note: See TracBrowser for help on using the repository browser.