gnuchess: add missing dependencies on flex and host-flex
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 24 Mar 2013 21:42:30 +0000 (21:42 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 25 Mar 2013 07:55:07 +0000 (08:55 +0100)
And also add a missing newline and licensing informations while we're
at it.

Fixes:
http://autobuild.buildroot.org/results/2851f23990c9f6642b1e706a94b1afc15a24b6f7/build-end.log.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/gnuchess/Config.in
package/gnuchess/gnuchess.mk

index c79c52dd465adca91cd736ad8438d7d81e20048e..105fbbc3087dee5c82ff2ad530a3feeb0e9203c7 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_GNUCHESS
        bool "gnuchess"
        depends on BR2_TOOLCHAIN_HAS_THREADS
+       select BR2_PACKAGE_FLEX
        help
          GNU Chess lets most modern computers play a full game of chess.
 
index 3e0b724fa6520372b8a8fda7f3a166904e4e79c1..90d2274a642ab2aeab26dd6b0dfba530d27ca000 100644 (file)
@@ -3,11 +3,15 @@
 # gnuchess
 #
 #############################################################
+
 GNUCHESS_VERSION = 5.07
 GNUCHESS_SOURCE = gnuchess-$(GNUCHESS_VERSION).tar.gz
 GNUCHESS_SITE = $(BR2_GNU_MIRROR)/chess
+GNUCHESS_LICENSE = GPLv2+
+GNUCHESS_LICENSE_FILES = COPYING
 
-GNUCHESS_DEPENDENCIES = $(if $(BR2_PACKAGE_READLINE),readline)
+GNUCHESS_DEPENDENCIES = host-flex flex
+GNUCHESS_DEPENDENCIES += $(if $(BR2_PACKAGE_READLINE),readline)
 
 $(eval $(autotools-package))