package/jpeg-turbo: allow installing tools
authorClément Péron <peron.clem@gmail.com>
Sun, 12 Apr 2020 11:06:32 +0000 (13:06 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 12 Apr 2020 13:30:58 +0000 (15:30 +0200)
commit3d71ffcf8d4c6d14a036a2684b6d1f1c696e3abc
tree1b35ffc485301cbbf51b2079520f346e39fc68d5
parent7a48ac725f1829660641c348c062159d07519b45
package/jpeg-turbo: allow installing tools

Currently, the jpeg-turbo tools are forcibly removed, but they can be
usefull (e.g. to test performance on the target, or to script batch
conversions).

Add an option to allow keeping them.

Signed-off-by: Clément Péron <peron.clem@gmail.com>
[yann.morin.1998@free.fr
  - move the option out of the choice
  - move the option to a Config.in.options
  - drop the default 'n', which is ... the default
  - use positive logic to define the hook
  - move definition of the hook in the conditional block
  - don't indent the hook assignment
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/jpeg-turbo/Config.in.options [new file with mode: 0644]
package/jpeg-turbo/jpeg-turbo.mk
package/jpeg/Config.in