package/tvheadend: unbreak
authorYann E. MORIN <yann.morin.1998@free.fr>
Wed, 4 Dec 2013 00:08:41 +0000 (01:08 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 4 Dec 2013 09:13:28 +0000 (10:13 +0100)
commit50a8ff5c5bc3586b3ec23a070b036bbd00a7f54a
tree9aab469d109418abd4029472651c53a0b1bc941f
parent09100a37507d2534503c0a1ac3857fc4571304e5
package/tvheadend: unbreak

tvheadend tries to impersonate an autotools package, when it is not.
This breaks the build.

tvheadend's ./configure tries to run compiled code.
This breaks the build.

Switch tvheadend over to using the generic-package infrastructure,
and provide carefully-crafted _CMDS for each steps.

We still keep a post-install hook to install our "DB" since it is not
part of tvheadend, but an addition of our own packaging of tvheadend.

Fixes:
    http://autobuild.buildroot.net/results/3ea/3eaa17b94975477263fe12e201eec9cbeeb2912c/
    http://autobuild.buildroot.net/results/7c8/7c85db0dfab98808c97a5ef17dec9d1071dc0d49/
and a few others as well.

[Peter: tweak 004-dont-run-compiled-code.patch description as pointed out by Thomas]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/tvheadend/tvheadend-004-dont-run-compiled-code.patch [new file with mode: 0644]
package/tvheadend/tvheadend.mk