diff options
author | John Voltz <john.voltz@gmail.com> | 2008-03-06 18:36:54 +0000 |
---|---|---|
committer | John Voltz <john.voltz@gmail.com> | 2008-03-06 18:36:54 +0000 |
commit | eea1d602583fae32eeee840f0277c82d5b26ada6 (patch) | |
tree | 9892206bae0dd1967b34cf29bc4a61e7d4a9cc64 /package | |
parent | 1a2b4af3fb5fcac12d6c9f56963d1fcc3db92b80 (diff) | |
download | buildroot-eea1d602583fae32eeee840f0277c82d5b26ada6.tar.gz buildroot-eea1d602583fae32eeee840f0277c82d5b26ada6.zip |
added xboard
Diffstat (limited to 'package')
-rw-r--r-- | package/xboard/Config.in | 7 | ||||
-rw-r--r-- | package/xboard/xboard-4.2.7-installer.patch | 55 | ||||
-rw-r--r-- | package/xboard/xboard.mk | 19 |
3 files changed, 81 insertions, 0 deletions
diff --git a/package/xboard/Config.in b/package/xboard/Config.in new file mode 100644 index 0000000000..56c49e8477 --- /dev/null +++ b/package/xboard/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_XBOARD + bool "xboard" + default n + help + XBoard and WinBoard are graphical user interfaces for chess. + + http://ftp.gnu.org/gnu/xboard diff --git a/package/xboard/xboard-4.2.7-installer.patch b/package/xboard/xboard-4.2.7-installer.patch new file mode 100644 index 0000000000..477b8a2388 --- /dev/null +++ b/package/xboard/xboard-4.2.7-installer.patch @@ -0,0 +1,55 @@ +--- a/Makefile.in 2003-11-28 16:12:57.000000000 -0500 ++++ b/Makefile.in 2008-02-13 13:18:34.000000000 -0500 +@@ -63,27 +63,27 @@ 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) cmail $(bindir)/cmail +- $(INSTALL_PROGRAM) $(srcdir)/pxboard $(bindir)/pxboard +- $(INSTALL_DATA) $(srcdir)/xboard.man $(man6dir)/xboard$(man6ext) +- $(INSTALL_DATA) $(srcdir)/zic2xpm.man $(man6dir)/zic2xpm$(man6ext) +- $(INSTALL_DATA) xboard.info $(infodir)/xboard.info ++ $(INSTALL_PROGRAM) xboard $(DESTDIR)$(bindir)/xboard ++ $(INSTALL_PROGRAM) zic2xpm $(DESTDIR)$(bindir)/zic2xpm ++ $(INSTALL_PROGRAM) cmail $(DESTDIR)$(bindir)/cmail ++ $(INSTALL_PROGRAM) $(srcdir)/pxboard $(DESTDIR)$(bindir)/pxboard ++ $(INSTALL_DATA) $(srcdir)/xboard.man $(DESTDIR)$(man6dir)/xboard$(man6ext) ++ $(INSTALL_DATA) $(srcdir)/zic2xpm.man $(DESTDIR)$(man6dir)/zic2xpm$(man6ext) ++ $(INSTALL_DATA) xboard.info $(DESTDIR)$(infodir)/xboard.info + -PATH=$$PATH:/sbin:/usr/sbin install-info \ +- $(infodir)/xboard.info $(infodir)/dir ++ $(infodir)/xboard.info $(DESTDIR)$(infodir)/dir + + installdirs: mkinstalldirs + $(srcdir)/mkinstalldirs $(bindir) $(mandir) $(man6dir) $(infodir) + + uninstall: +- rm -f $(bindir)/xboard $(bindir)/cmail $(bindir)/pxboard +- rm -f $(bindir)/zic2xpm +- rm -f $(man6dir)/xboard$(man6ext) $(man6dir)/cmail$(man6ext) +- rm -f $(man6dir)/zic2xpm$(man6ext) +- rm -f $(infodir)/xboard.info ++ rm -f $(DESTDIR)$(bindir)/xboard $(DESTDIR)$(bindir)/cmail $(DESTDIR)$(bindir)/pxboard ++ rm -f $(DESTDIR)$(bindir)/zic2xpm ++ rm -f $(DESTDIR)$(man6dir)/xboard$(man6ext) $(DESTDIR)$(man6dir)/cmail$(man6ext) ++ rm -f $(DESTDIR)$(man6dir)/zic2xpm$(man6ext) ++ rm -f $(DESTDIR)$(infodir)/xboard.info + -PATH=$$PATH:/sbin:/usr/sbin install-info --delete \ +- $(infodir)/xboard.info $(infodir)/dir ++ $(DESTDIR)$(infodir)/xboard.info $(DESTDIR)$(infodir)/dir + + clean: + rm -f xboard zic2xpm *.o xboard.txt zic2xpm.txt $(LEX_OUTPUT_ROOT).c +--- a/Makefile.in 2008-02-13 13:20:14.000000000 -0500 ++++ b/Makefile.in 2008-02-13 13:21:25.000000000 -0500 +@@ -74,7 +74,7 @@ install: installdirs default + $(infodir)/xboard.info $(DESTDIR)/$(infodir)/dir + + installdirs: mkinstalldirs +- $(srcdir)/mkinstalldirs $(bindir) $(mandir) $(man6dir) $(infodir) ++ $(srcdir)/mkinstalldirs $(DESTDIR)$(bindir) $(DESTDIR)$(mandir) $(DESTDIR)$(man6dir) $(DESTDIR)$(infodir) + + uninstall: + rm -f $(DESTDIR)/$(bindir)/xboard $(DESTDIR)/$(bindir)/cmail $(DESTDIR)/$(bindir)/pxboard diff --git a/package/xboard/xboard.mk b/package/xboard/xboard.mk new file mode 100644 index 0000000000..e1cf70ca72 --- /dev/null +++ b/package/xboard/xboard.mk @@ -0,0 +1,19 @@ +############################################################# +# +# xboard +# +############################################################# +XBOARD_VERSION = 4.2.7 +XBOARD_SOURCE = xboard-$(XBOARD_VERSION).tar.gz +XBOARD_SITE = http://ftp.gnu.org/gnu/xboard +XBOARD_AUTORECONF = NO +XBOARD_INSTALL_STAGING = NO +XBOARD_INSTALL_TARGET = YES +XBOARD_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install + +XBOARD_CONF_OPT --prefix=/usr + +XBOARD_DEPENDENCIES = uclibc gnuchess + +$(eval $(call AUTOTARGETS,package,xboard)) + |