[arch-commits] Commit in (7 files)

Antonio Rojas arojas at archlinux.org
Tue Dec 23 10:52:49 UTC 2014


    Date: Tuesday, December 23, 2014 @ 11:52:48
  Author: arojas
Revision: 124391

New Sage dependency

Added:
  rubiks/
  rubiks/trunk/
  rubiks/trunk/PKGBUILD
  rubiks/trunk/dietz-cu2-Makefile
  rubiks/trunk/dietz-mcube-Makefile
  rubiks/trunk/dietz-solver-Makefile
  rubiks/trunk/reid-Makefile

-----------------------+
 PKGBUILD              |   31 +++++++++++++++++++++++++++++++
 dietz-cu2-Makefile    |   38 ++++++++++++++++++++++++++++++++++++++
 dietz-mcube-Makefile  |   43 +++++++++++++++++++++++++++++++++++++++++++
 dietz-solver-Makefile |   33 +++++++++++++++++++++++++++++++++
 reid-Makefile         |    8 ++++++++
 5 files changed, 153 insertions(+)

Added: rubiks/trunk/PKGBUILD
===================================================================
--- rubiks/trunk/PKGBUILD	                        (rev 0)
+++ rubiks/trunk/PKGBUILD	2014-12-23 10:52:48 UTC (rev 124391)
@@ -0,0 +1,31 @@
+# Maintainer: Antonio Rojas <nqn76sw at gmail.com>
+
+pkgname=rubiks
+pkgver=20070912
+pkgrel=1
+pkgdesc="Several programs for working with Rubik's cubes"
+arch=('i686' 'x86_64')
+url="http://www.sagemath.org"
+license=('GPL')
+depends=('gcc-libs')
+makedepends=()
+source=("http://www.sagemath.org/packages/upstream/$pkgname/$pkgname-$pkgver.tar.bz2" 'dietz-cu2-Makefile' 'dietz-mcube-Makefile' 'dietz-solver-Makefile' 'reid-Makefile')
+md5sums=('af005309b248f0bba49673a0e5ba3ce8'
+         '817c6fccae52a5f4c839153ef5d7419f'
+         '296780d7921fbdbefeef59e37770b8ce'
+         '8bd416351a0e1e80078832270e7c9690'
+         '3a1f748d4a556c2d0440b52cf715b38b')
+
+prepare() {
+  cd $pkgname-$pkgver
+  cp $srcdir/dietz-mcube-Makefile dietz/mcube/Makefile
+  cp $srcdir/dietz-solver-Makefile dietz/solver/Makefile
+  cp $srcdir/dietz-cu2-Makefile dietz/cu2/Makefile
+  cp $srcdir/reid-Makefile reid/Makefile
+
+}
+
+package() {
+  cd $pkgname-$pkgver
+  INSTALL=/usr/bin/install make PREFIX="$pkgdir"/usr install
+}


Property changes on: rubiks/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: rubiks/trunk/dietz-cu2-Makefile
===================================================================
--- rubiks/trunk/dietz-cu2-Makefile	                        (rev 0)
+++ rubiks/trunk/dietz-cu2-Makefile	2014-12-23 10:52:48 UTC (rev 124391)
@@ -0,0 +1,38 @@
+RM=rm -f
+INCLUDES=cu2.h config.h
+OBJS=cu2.o main.o
+LIBS=
+DBGCFLAGS=
+DBGLFLAGS=
+DBGOBJS=cu2.o.dbg main.o.dbg
+DBGLIBS=
+
+all: build
+
+debug: build-debug
+
+build: $(OBJS)
+	$(CXX) $(CXXFLAGS)  -o cu2  $(OBJS) $(LIBS)
+
+build-debug: $(DBGOBJS)
+	$(CXX) $(DBGLFLAGS)  -o cu2  $(OBJS) $(DBGLIBS)
+
+clean:
+	$(RM) $(OBJS)
+
+distclean: clean
+	$(RM) cu2
+
+main.o: main.cpp $(INCLUDES)
+	$(CXX) $(CXXFLAGS) -c main.cpp
+
+cu2.o: cu2.cpp $(INCLUDES)
+	$(CXX) $(CXXFLAGS) -c cu2.cpp
+
+main.o.dbg: main.cpp $(INCLUDES)
+	$(CXX) $(DBGCFLAGS) -c main.cpp
+
+cu2.o.dbg: cu2.cpp $(INCLUDES)
+	$(CXX) $(DBGCFLAGS) -c cu2.cpp
+
+dummy:
\ No newline at end of file

Added: rubiks/trunk/dietz-mcube-Makefile
===================================================================
--- rubiks/trunk/dietz-mcube-Makefile	                        (rev 0)
+++ rubiks/trunk/dietz-mcube-Makefile	2014-12-23 10:52:48 UTC (rev 124391)
@@ -0,0 +1,43 @@
+# makefile for mcube with gcc on *nix by Eric
+# This makefile was seriously broken, using for example CPP for
+# the C++ compiler, CFLAGS for compiler flags for the C++ compiler
+# DBGCFLAGS was set to an empty value, but then used. Not a serious
+# issue, but as it was surpurflous, I removed it.
+# It was broken in other ways too numerous to mention.
+# Edited by David Kirkby, 29th Sept 2009
+
+RM=rm -f
+INCLUDES=mcube.h config.h
+OBJS=mcube.o main.o
+DBGOBJS=mcube.o.dbg main.o.dbg
+DBGLIBS=
+
+all: build
+
+debug: build-debug
+
+build: $(OBJS)
+	$(CXX) $(CXXFLAGS)  -o mcube  $(OBJS) $(LIBS)
+
+build-debug: $(DBGOBJS)
+	$(CXX) $(CXXFLAGS)  -o mcube  $(OBJS) $(DBGLIBS)
+
+clean:
+	$(RM) $(OBJS)
+
+distclean: clean
+	$(RM) mcube
+
+main.o: main.cpp $(INCLUDES)
+	$(CXX) $(CXXFLAGS) -c main.cpp
+
+mcube.o: mcube.cpp $(INCLUDES)
+	$(CXX) $(CXXFLAGS) -c mcube.cpp
+
+main.o.dbg: main.cpp $(INCLUDES)
+	$(CXX) -c main.cpp
+
+mcube.o.dbg: mcube.cpp $(INCLUDES)
+	$(CXX) -c mcube.cpp
+
+dummy:
\ No newline at end of file

Added: rubiks/trunk/dietz-solver-Makefile
===================================================================
--- rubiks/trunk/dietz-solver-Makefile	                        (rev 0)
+++ rubiks/trunk/dietz-solver-Makefile	2014-12-23 10:52:48 UTC (rev 124391)
@@ -0,0 +1,33 @@
+# Makefile for cubex by Eric
+# This Makefile was seriously broken.
+# CC was set to g++. Since it was compiling C++ files,
+# CXX should have been used.
+# LINK was set to g++, so I changed that to LD
+# CFLAGS was set to -O2. I've removed that, so it can be set
+# in spkg-install.
+# In any case, it should have been CXXFLAGS
+# LFLAGS and INCLUDES were both empty
+# David Kirkby, 29th Sept 2009
+
+INCLUDES=
+OBJS=cubex.o main.o
+RM=/bin/rm -f
+
+all: build
+
+build: $(OBJS)
+	$(CXX) $(CXXFLAGS)  -o cubex  $(OBJS)
+
+clean:
+	$(RM) $(OBJS)
+
+distclean: clean
+	$(RM) cubex
+
+cubex.o: cubex.cpp $(INCLUDES) cubex.h
+	$(CXX) $(CXXFLAGS) -c cubex.cpp
+
+main.o: main.cpp $(INCLUDES) cubex.h
+	$(CXX) $(CXXFLAGS) -c main.cpp
+
+dummy:
\ No newline at end of file

Added: rubiks/trunk/reid-Makefile
===================================================================
--- rubiks/trunk/reid-Makefile	                        (rev 0)
+++ rubiks/trunk/reid-Makefile	2014-12-23 10:52:48 UTC (rev 124391)
@@ -0,0 +1,8 @@
+all: optimal twist
+
+
+clean:
+	rm -f *.o
+
+distclean: clean
+	rm -f optimal twist
\ No newline at end of file



More information about the arch-commits mailing list