[fpc-devel]Is there a rpm with the fpc sources?
Marco van de Voort
marcov at stack.nl
Fri Feb 7 17:00:26 CET 2003
> On Fri, 7 Feb 2003 07:17:04 +0100 (CET)
> "Peter Vreman" <peter at freepascal.org> wrote:
> > > Hi,
> > >
> > > I'm searching for a rpm for the fpc source snapshot. (1.0.x or 1.1)
> > There is none atm. If there are enough request for such a snapshot it can
> > be generated on a daily base. But it should already be possible to use a
> > daily CVS checkout and call 'make rpm' to build the rpm.
> I will start a simple fpc source rpm. Should I take the whole cvs export
> output of FIXES_1_0_0 (~9mb) or only the content of the snapshot?
> According to the linux FHS a good place is /usr/share/<packagename>.
> What is a good name for the package: fpcsrc, fpcsource, fpsource, ... ?
I don't know FHS, but what I do for the FPC *BSD ports:
$PREFIX/share is for anything not OS/architecture dependant. So also
the docs should be there, examples etc. This is a general Unix convention
btw, not just BSD.
Under BSD I create $PREFIX/share/fpc/src/ and then put the entire
FIXES_1_0_0 tree there.
Then doc in $PREFIX/share/fpc/doc
examples in $PREFIX/share/fpc/examples etc.
Does FHS still stuff doc in $PREFIX/doc ? If not, then it probably belongs
in share/ too under Linux.
$PREFIX= /usr when the package is in the base systems (IOW it is always
installed, things like gcc)
$PREFIX=/usr/local under FreeBSD and OpenBSD, (and NetBSD if not installed
via NetBSD's own installation system, NetBSD package systems uses /usr/pkg)
The Slackware distro is also pretty close to this layout.
More information about the fpc-devel