]> granicus.if.org Git - imagemagick/blob - version.sh
e7c54af7611721a58f77c03dd474a3776d8e8149
[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.6.5'
14 PACKAGE_LIB_VERSION="0x665"
15 PACKAGE_RELEASE="6"
16 PACKAGE_LIB_VERSION_NUMBER="6,6,5,${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_VERSION_ADDENDUM="-${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 #   If there is any interface change, increment CURRENT (major).  If that
39 #   interface change does not break upward compatibility (i.e. it is an
40 #   addition), increment AGE( micro), Otherwise AGE is reset to 0. If CURRENT
41 #   has changed, REVISION (minor) is set to 0, otherwise REVISION is
42 #   incremented.
43
44 MAGICK_LIBRARY_CURRENT=4
45 MAGICK_LIBRARY_REVISION=0
46 MAGICK_LIBRARY_AGE=0