]> granicus.if.org Git - imagemagick/blob - version.sh
9d4afeb180df9c6e7da12abe1dd649309d93df2f
[imagemagick] / version.sh
1 #
2 # Package name and versioning information for ImageMagick.
3 #
4 # This file is sourced by a Bourne shell (/bin/sh) script so it must
5 # observe Bourne shell syntax.
6 #
7 # Package base name
8 PACKAGE_NAME='ImageMagick'
9
10 #
11 # Package version.  This is is the numeric version suffix applied to
12 # PACKAGE_NAME (e.g. "1.0.0").
13 PACKAGE_VERSION='6.5.9'
14 PACKAGE_LIB_VERSION="0x659"
15 PACKAGE_RELEASE="1"
16 PACKAGE_LIB_VERSION_NUMBER="6,5,9,${PACKAGE_RELEASE}"
17 PACKAGE_RELEASE_DATE=`date +%F`
18 PACKAGE_STRING="$PACKAGE_NAME $PACKAGE_VERSION"
19
20 #
21 # Date of last ChangeLog update
22 #
23 PACKAGE_CHANGE_DATE=`awk '/^[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]/ { print substr($1,1,4) substr($1,6,2) substr($1,9,2); exit; }' ${srcdir}/ChangeLog`
24
25 #
26 # Package version addendum.  This is an arbitrary suffix (if any) appended
27 # to the package version. (e.g. "beta1")
28 PACKAGE_LIB_SUBVERSION="-${PACKAGE_RELEASE}"
29
30 #
31 # Libtool library revision control info: See the libtool documentation under
32 # the heading "Libtool's versioning system" in order to understand the meaning
33 # of these fields.
34 #
35 # Here are a set of rules to help you update your library version
36 # information:
37 #
38 #  1. Start with version information of `0:0:0' for each libtool library.
39 #  2. Update the version information only immediately before a public
40 #     release of your software. More frequent updates are unnecessary, and
41 #     only guarantee that the current interface number gets larger faster.
42 #  3. If the library source code has changed at all since the last update,
43 #     then increment revision (`c:r:a' becomes `c:r+1:a').
44 #  4. If any interfaces have been added, removed, or changed since the last
45 #     update, increment current, and set revision to 0.
46 #  5. If any interfaces have been added since the last public release, then
47 #     increment age.
48 #  6. If any interfaces have been removed since the last public release,
49 #     then set age to 0.
50 MAGICK_LIBRARY_CURRENT=3
51 MAGICK_LIBRARY_REVISION=0
52 MAGICK_LIBRARY_AGE=0