package/openssl: fix coding style
authorYann E. MORIN <yann.morin.1998@free.fr>
Thu, 5 Dec 2013 21:46:49 +0000 (22:46 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 5 Dec 2013 23:10:09 +0000 (00:10 +0100)
commita17ec1645d0f9e1d6acc6a50c9b84e0c280ac4f5
treeded416ecfff8635c4c5160234e2bf984c72e79fc
parent1f95d1a975bb185f5fb174ea4524795f70f8cae5
package/openssl: fix coding style

Currently, openssl defines three conditional hooks, but two do not
follow our coding rules:
  - for PRE_CONFIGURE, the hook is defined in the if-block, but
    the _HOOK variable is always set
  - for POST_INSTALL_TARGET, the hook is always defined, but the
    _HOOK variable is set in the if-block

Fix that:
  - define the hook in the if-block
  - assign the _HOOK variable in the if-block

At the same time, get rid of extra empty lines that make it more
difficult to read.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/openssl/openssl.mk