Mercurial > hg > sv-dependency-builds
comparison src/sord-0.12.0/PACKAGING @ 85:545efbb81310
Import initial set of sources
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Mon, 18 Mar 2013 14:12:14 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 85:545efbb81310 |
---|---|
1 This library is designed to allow parallel installation of different major | |
2 versions. To facilitate this, the shared library name, include directory, and | |
3 pkg-config file are suffixed with the major version number of the library. | |
4 | |
5 For example, if this library was named "foo" and at version 1.x.y: | |
6 | |
7 /usr/include/foo-1/foo/foo.h | |
8 /usr/lib/foo-1.so.1.x.y | |
9 /usr/lib/pkgconfig/foo-1.pc | |
10 | |
11 Dependencies check for pkg-config name "foo-1" and will build | |
12 against a compatible version 1, regardless any other installed versions. | |
13 | |
14 *** IMPORTANT GUIDELINES FOR PACKAGERS *** | |
15 | |
16 Packages should follow the same conventions as above, i.e. include the major | |
17 version (and only the major version) in the name of the package. Continuing the | |
18 example above, the package(s) would be named foo-1 and foo-1-dev. This way, | |
19 if/when version 2 comes out, it may be installed at the same time as version 1 | |
20 without breaking anything. | |
21 | |
22 Please do not create packages of this library that do not follow these | |
23 guidelines, you will break things and cause unnecessary headaches. Please do | |
24 not use any number as a suffix other than the actual major version number of the | |
25 upstream source package. | |
26 | |
27 Because program and documentation names are not versioned, these should be | |
28 included in separate packages which may replace previous versions, since | |
29 there is little use in having parallel installations of them. |