From 2397c5497d1ca4ae093bb6929d79f9ed6b84d46f Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Mon, 12 Nov 2007 13:52:13 +0000 Subject: monotone: update to 0.37 --- packages/monotone/monotone-6-0.37/.mtn2git_empty | 0 .../monotone-6-0.37/txt2c-cross-post-0.22.patch | 11 +++++ packages/monotone/monotone-6_0.37.bb | 52 ++++++++++++++++++++++ 3 files changed, 63 insertions(+) create mode 100644 packages/monotone/monotone-6-0.37/.mtn2git_empty create mode 100644 packages/monotone/monotone-6-0.37/txt2c-cross-post-0.22.patch create mode 100644 packages/monotone/monotone-6_0.37.bb (limited to 'packages/monotone') diff --git a/packages/monotone/monotone-6-0.37/.mtn2git_empty b/packages/monotone/monotone-6-0.37/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/monotone/monotone-6-0.37/txt2c-cross-post-0.22.patch b/packages/monotone/monotone-6-0.37/txt2c-cross-post-0.22.patch new file mode 100644 index 0000000000..182993f027 --- /dev/null +++ b/packages/monotone/monotone-6-0.37/txt2c-cross-post-0.22.patch @@ -0,0 +1,11 @@ +--- /tmp/Makefile.am 2007-11-12 14:43:17.000000000 +0100 ++++ monotone-0.37/Makefile.am 2007-11-12 14:43:35.633234000 +0100 +@@ -692,7 +692,7 @@ + CLEANFILES = $(BUILT_SOURCES) $(CLEAN_SOURCES) $(EPS_FIGURES) + + txt2c: txt2c.cc +- $(CXX) $(CXXFLAGS) -o $@ $< ++ $(BUILD_CXX) $(BUILD_CXXFLAGS) -o $@ $< + chmod 0755 $@$(EXEEXT) + + # FIXME: should use stamp files. diff --git a/packages/monotone/monotone-6_0.37.bb b/packages/monotone/monotone-6_0.37.bb new file mode 100644 index 0000000000..571f5b17f5 --- /dev/null +++ b/packages/monotone/monotone-6_0.37.bb @@ -0,0 +1,52 @@ +DESCRIPTION = "Monotone is a distributed Source Control System" +HOMEPAGE = "http://www.monotone.ca/" +SECTION = "devel" +PRIORITY = "optional" +LICENSE = "MIT" +DEPENDS = "boost" + +PROVIDES = "monotone" +RPROVIDES = "monotone" + +S = "${WORKDIR}/monotone-${PV}" +# no cross compile support - it tries to run the test program even with +# --enable_ipv6=yes +EXTRA_OECONF = "--disable-ipv6 \ + --disable-dependency-tracking \ + --disable-rpath \ + --disable-nls \ + --with-gnu-ld \ + --with-bundled-lua --with-bundled-sqlite" + +inherit autotools + +# Release 0.22 reveals bugs in g++ for thumb (g++ generates +# relocations which the linker cannot represent) +#FIXME: remove the following +ARM_INSTRUCTION_SET = "arm" + +PR = "r0" + +SRC_URI = "http://monotone.ca/downloads/${PV}/monotone-${PV}.tar.gz \ + file://txt2c-cross-post-0.22.patch;patch=1 \ +# file://uclibc.database.hh.stdarg.patch;patch=1 \ + file://configure.ac-no-sync-with-stdio-0.31.patch;patch=1 \ + " +do_compile_append() { + touch testsuite +} + +# This makes the testsuite as a package and renames the monotone executable +# to include the netsync suffix. +do_install_append() { + install -d ${D}${tsd} + install -c -m 755 testsuite ${D}${tsd}/testsuite + cp -pPR tests ${D}${tsd}/tests + rm ${D}/home/monotone/monotone-6/tests/diff_a_binary_file/binary +} + +PACKAGES = "${PN} ${PN}-doc ${PN}-testsuite" +tsd = "/home/monotone/${PN}" +FILES_${PN}-testsuite = "${tsd}/testsuite ${tsd}/tests" +RDEPENDS_${PN}-testsuite += "bash sed grep cvs patch perl perl-modules" + -- cgit v1.2.3