php: add PHP_VERSION_MAJOR variable
authorFloris Bos <bos@je-eigen-domein.nl>
Mon, 18 May 2015 19:52:02 +0000 (21:52 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 20 May 2015 11:13:35 +0000 (13:13 +0200)
commit24d340fd46c082f71d04db186fdb703b39b57f22
treeda6f4cb9dbb87f20d8ee6400292f0d593aa03c20
parent7a149cc623ce59d18c1bf6f5956ce6f06750e183
php: add PHP_VERSION_MAJOR variable

Add PHP_VERSION_MAJOR variable to php.mk for use by other packages.
E.g. to install the Ioncube loader binary, it is necessary to
know the PHP major version.

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/php/php.mk