Subject: same program, different versions
To: None <tech-pkg@NetBSD.org>
From: Ben Collver <collver@peak.org>
List: tech-pkg
Date: 05/18/2006 06:41:01
Hello,

I am thinking about adding csound5 to pkgsrc.  I want to be able to have
csound4 and csound5 installed at the same time.  My first idea goes
something like this:

- put the version number in the the base of all directories
  include/csound -> include/csound4
  lib/csound -> lib/csound4
  share/csound -> share/csound4

- move unversioned files into versioned directories
  bin/* -> lib/csound4/*
  lib/libcscore.a -> lib/csound4/libcscore.a
  lib/libcsound.la -> lib/csound4/libcsound.la

- bump pkgrevision

How does this seem?  Any recommendations on how to do it better?

Thank you,

Ben