summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}
+}