annotate src/serd-0.18.2/PACKAGING @ 12:b7bda433d832

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