summaryrefslogtreecommitdiff
path: root/packages/xboard
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>2009-01-17 14:54:27 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>2009-01-17 15:27:59 +0100
commitcbc289ce6c27e19ec8accf16a0ac8360e786ed23 (patch)
tree1375c8c9ec0b7b11affcaa8309270f1a6e20b654 /packages/xboard
parentaaf9a780d51388c0c0f2ddadcb86bdd41b003d07 (diff)
xboard: new recipe,version 4.2.7
*do not let the install script strip the binaries: That permit oe to copy the binaries before stripping, in order to create the ${PN}-dbg package *blank ${PN}-dev package(as ddrescue and scummvm do) *closes bug #4832
Diffstat (limited to 'packages/xboard')
-rw-r--r--packages/xboard/files/no-strip.patch15
-rw-r--r--packages/xboard/xboard_4.2.7.bb13
2 files changed, 28 insertions, 0 deletions
diff --git a/packages/xboard/files/no-strip.patch b/packages/xboard/files/no-strip.patch
new file mode 100644
index 0000000000..5785a9a1f1
--- /dev/null
+++ b/packages/xboard/files/no-strip.patch
@@ -0,0 +1,15 @@
+Index: xboard-4.2.7-r0/xboard-4.2.7/Makefile.in
+===================================================================
+--- xboard-4.2.7-r0.orig/xboard-4.2.7/Makefile.in
++++ xboard-4.2.7-r0/xboard-4.2.7/Makefile.in
+@@ -63,8 +63,8 @@ default: xboard zic2xpm
+ all: default pseudosource info FAQ html dvi ps
+
+ install: installdirs default
+- $(INSTALL_PROGRAM) -s xboard $(bindir)/xboard
+- $(INSTALL_PROGRAM) -s zic2xpm $(bindir)/zic2xpm
++ $(INSTALL_PROGRAM) xboard $(bindir)/xboard
++ $(INSTALL_PROGRAM) zic2xpm $(bindir)/zic2xpm
+ $(INSTALL_PROGRAM) cmail $(bindir)/cmail
+ $(INSTALL_PROGRAM) $(srcdir)/pxboard $(bindir)/pxboard
+ $(INSTALL_DATA) $(srcdir)/xboard.man $(man6dir)/xboard$(man6ext)
diff --git a/packages/xboard/xboard_4.2.7.bb b/packages/xboard/xboard_4.2.7.bb
new file mode 100644
index 0000000000..1b5a4129a2
--- /dev/null
+++ b/packages/xboard/xboard_4.2.7.bb
@@ -0,0 +1,13 @@
+DESCRIPTION = "A GUI frontend for playing various chess engines and from the internet"
+HOMEPAGE = "http://www.tim-mann.org/xboard.html"
+SECTION = "games"
+LICENSE = "GPL"
+DEPENDS = "libxaw libsm libx11 libxt libxmu libxext libice"
+SRC_URI = "http://ftp.gnu.org/gnu/xboard/xboard-4.2.7.tar.gz \
+ file://no-strip.patch;patch=1;pnum=2"
+
+inherit autotools
+
+do_configure() {
+ oe_runconf --exec-prefix=${D}/${prefix} --prefix=${D}/${prefix} --bindir=${D}/${bindir} --mandir=${D}/${mandir}
+}