From 73b4c0ca6b45f999ed463dd6856f467de6553923 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 8 Oct 2015 19:36:40 +0000 Subject: Update INSTALL file git-svn-id: http://svn.drobilla.net/sord/trunk@339 3d64ff67-21c5-427c-a301-fe4f08042e5a --- INSTALL | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) (limited to 'INSTALL') diff --git a/INSTALL b/INSTALL index 623cddd..9b54f51 100644 --- a/INSTALL +++ b/INSTALL @@ -8,11 +8,7 @@ Building this software requires only Python. To install with default options: ./waf configure ./waf - ./waf install - -You may need to become root for the install stage, for example: - - sudo ./waf install + ./waf install # or sudo ./waf install Configuration Options --------------------- @@ -40,12 +36,20 @@ invoked: * CPPFLAGS: C preprocessor options * LINKFLAGS: Linker options -Installation Directories ------------------------- +Library Versioning +------------------ + +This library uses semantic versioning . + +Several major versions can be installed in parallel. The shared library name, +include directory, and pkg-config file are suffixed with the major version +number. For example, a library named "foo" at version 1.x.y might install: -The --prefix option (or the PREFIX environment variable) can be used to change -the prefix which all files are installed under. There are also several options -allowing for more fine-tuned control, see the --help output for details. + /usr/include/foo-1/foo/foo.h + /usr/lib/foo-1.so.1.x.y + /usr/lib/pkgconfig/foo-1.pc + +Dependencies can check for the package "foo-1" with pkg-config. Packaging --------- @@ -57,3 +61,6 @@ which adds a prefix to all install paths. For example: ./waf configure --prefix=/usr ./waf ./waf install --destdir=/tmp/package + +Packages should allow parallel installation of several major versions. For +example, the above would be packaged as "foo-1". \ No newline at end of file -- cgit v1.2.1