gsrc-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gsrc-commit] /srv/bzr/gsrc/trunk r1196: add gobo as dep of orgadoc


From: Brandon Invergo
Subject: [Gsrc-commit] /srv/bzr/gsrc/trunk r1196: add gobo as dep of orgadoc
Date: Sun, 18 Nov 2012 20:08:46 +0100
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 1196
committer: Brandon Invergo <address@hidden>
branch nick: trunk
timestamp: Sun 2012-11-18 20:08:46 +0100
message:
  add gobo as dep of orgadoc
added:
  deps/gobo/
  deps/gobo/Makefile
  deps/gobo/config.mk
  deps/gobo/files/
  deps/gobo/files/gobo-3.9-build-output.diff
  deps/gobo/sha256sums
=== added directory 'deps/gobo'
=== added file 'deps/gobo/Makefile'
--- a/deps/gobo/Makefile        1970-01-01 00:00:00 +0000
+++ b/deps/gobo/Makefile        2012-11-18 19:08:46 +0000
@@ -0,0 +1,49 @@
+GARNAME = gobo
+GARVERSION = 3.9
+HOME_URL = http://www.gobosoft.com/eiffel/gobo
+DESCRIPTION = Tools for the Eiffel language
+
+######################################################################
+
+empty:=
+version = $(subst .,$(empty),$(GARVERSION))
+MASTER_SITES = http://downloads.sourceforge.net/project/
+MASTER_SUBDIR = $(GARNAME)-eiffel/$(GARNAME)-eiffel/$(GARVERSION)/
+DISTFILES = $(GARNAME)$(version)-src.tar.gz
+SIGFILES = 
+PATCHFILES = $(DISTNAME)-build-output.diff
+WORKSRC = $(WORKDIR)/gobo
+BUILD_SCRIPTS = $(WORKSRC)/install.sh
+INSTALL_SCRIPTS = bin
+
+
+BUILDDEPS = smarteiffel
+LIBDEPS = 
+
+######################################################################
+
+include ../../gar.mk
+include config.mk
+
+pre-build:
+       @sed -i -e '32s|^|EIF=se\n|' $(WORKSRC)/install.sh
+       @sed -i -e 's|$$GOBO|$(realpath $(WORKSRC))/|g' $(WORKSRC)/install.sh
+       @sed -i -e 's|\"ge\"|\"se\"|g' $(WORKSRC)/install.sh
+       @sed -i -e 's|GOBO_EIFFEL=ge|GOBO_EIFFEL=se|g' $(WORKSRC)/install.sh
+       $(MAKECOOKIE)
+
+build-%/install.sh:
+       @echo "==> Running install.sh setup in $*"
+       GOBO=$(realpath $(WORKSRC)) sh $(WORKSRC)/install.sh gcc
+       $(MAKECOOKIE)
+
+install-bin:
+       @echo "==> Installing Gobo binaries"
+       mkdir -p $(packageprefix)/share/$(GARNAME)
+       cp -r $(WORKSRC)/bin $(packageprefix)/share/$(GARNAME)/
+       cp -r $(WORKSRC)/bin $(packageprefix)/
+       cp -r $(WORKSRC)/library $(packageprefix)/share/$(GARNAME)/
+       cp -r $(WORKSRC)/misc $(packageprefix)/share/$(GARNAME)/
+       cp -r $(WORKSRC)/test $(packageprefix)/share/$(GARNAME)/
+       cp -r $(WORKSRC)/tool $(packageprefix)/share/$(GARNAME)/
+       $(MAKECOOKIE)

=== added file 'deps/gobo/config.mk'
--- a/deps/gobo/config.mk       1970-01-01 00:00:00 +0000
+++ b/deps/gobo/config.mk       2012-11-18 19:08:46 +0000
@@ -0,0 +1,4 @@
+## Configuration options for gobo ##
+
+CONFIGURE_OPTS ?= 
+BUILD_OPTS ?=

=== added directory 'deps/gobo/files'
=== added file 'deps/gobo/files/gobo-3.9-build-output.diff'
--- a/deps/gobo/files/gobo-3.9-build-output.diff        1970-01-01 00:00:00 
+0000
+++ b/deps/gobo/files/gobo-3.9-build-output.diff        2012-11-18 19:08:46 
+0000
@@ -0,0 +1,64 @@
+diff -x config.log -x config.status -ru tmp/gobo/install.sh 
work/gobo/install.sh
+--- tmp/gobo/install.sh        2008-11-09 11:56:12.000000000 +0100
++++ work/gobo/install.sh       2012-11-18 14:31:22.576750942 +0100
+@@ -41,6 +41,7 @@
+ cd $BIN_DIR
+ 
+ c_compilation() {
++        echo "Bootstrapping gec..."
+       $CC $CFLAGS -c $BOOTSTRAP_DIR/gec14.c
+       $CC $CFLAGS -c $BOOTSTRAP_DIR/gec13.c
+       $CC $CFLAGS -c $BOOTSTRAP_DIR/gec12.c
+@@ -164,20 +165,29 @@
+       GOBO_EIFFEL=ge
+       export GOBO_EIFFEL
+       cd $BIN_DIR
++      echo "Compiling:"
++      echo "geant..."
+       $BIN_DIR/gec$EXE --finalize $GOBO/src/geant/ge.xace
+       strip geant$EXE}
++      echo "gexace..."
+       $BIN_DIR/gec$EXE --finalize $GOBO/src/gexace/ge.xace
+       strip gexace${EXE}
++      echo "gelex..."
+       $BIN_DIR/gec$EXE --finalize $GOBO/src/gelex/ge.xace
+       strip gelex${EXE}
++      echo "geyacc..."
+       $BIN_DIR/gec$EXE --finalize $GOBO/src/geyacc/ge.xace
+       strip geyacc${EXE}
++      echo "gepp..."
+       $BIN_DIR/gec$EXE --finalize $GOBO/src/gepp/ge.xace
+       strip gepp${EXE}
++      echo "getest..."
+       $BIN_DIR/gec$EXE --finalize $GOBO/src/getest/ge.xace
+       strip getest${EXE}
++      echo "gelint..."
+       $BIN_DIR/gec$EXE --finalize $GOBO/src/gelint/ge.xace
+       strip gelint${EXE}
++      echo "gexslt..."
+       $BIN_DIR/gec$EXE --finalize $GOBO/src/gexslt/ge.xace
+       strip gexslt${EXE}
+ else
+@@ -188,12 +198,22 @@
+ PATH=$BIN_DIR:$PATH
+ export PATH
+ cd $BIN_DIR
++echo "Cleaning:"
++echo "gec..."
+ geant $VERBOSE --buildfilename=$GOBO/src/gec/build.eant clean
++echo "geant..."
+ geant $VERBOSE --buildfilename=$GOBO/src/geant/build.eant clean
++echo "gexace..."
+ geant $VERBOSE --buildfilename=$GOBO/src/gexace/build.eant clean
++echo "gelex..."
+ geant $VERBOSE --buildfilename=$GOBO/src/gelex/build.eant clean
++echo "geyacc..."
+ geant $VERBOSE --buildfilename=$GOBO/src/geyacc/build.eant clean
++echo "gepp..."
+ geant $VERBOSE --buildfilename=$GOBO/src/gepp/build.eant clean
++echo "getest..."
+ geant $VERBOSE --buildfilename=$GOBO/src/getest/build.eant clean
++echo "gelint..."
+ geant $VERBOSE --buildfilename=$GOBO/src/gelint/build.eant clean
++echo "gexslt..."
+ geant $VERBOSE --buildfilename=$GOBO/src/gexslt/build.eant clean

=== added file 'deps/gobo/sha256sums'
--- a/deps/gobo/sha256sums      1970-01-01 00:00:00 +0000
+++ b/deps/gobo/sha256sums      2012-11-18 19:08:46 +0000
@@ -0,0 +1,2 @@
+a26d31a2e670f45796420c2f59d00a32bc0af9c85e229af313e63becabc1b4d7  
download/gobo39-src.tar.gz
+dd40c0e786b201839834011e7d3a0c50fc747e3a899abc257e70c0b1e0c473b7  
download/gobo-3.9-build-output.diff


reply via email to

[Prev in Thread] Current Thread [Next in Thread]