[oe-commits] org.oe.dev monotone: add 0.33, with a slight hack to silence scanelf

koen commit openembedded-commits at lists.openembedded.org
Thu Mar 1 20:37:14 UTC 2007


monotone: add 0.33, with a slight hack to silence scanelf

Author: koen at openembedded.org
Branch: org.openembedded.dev
Revision: 224b10a52b5c05999e18cb7bfe86f5706f939f89
ViewMTN: http://monotone.openembedded.org/revision.psp?id=224b10a52b5c05999e18cb7bfe86f5706f939f89
Files:
1
packages/monotone/monotone-6_0.33.bb
Diffs:

#
# mt diff -ra6d86980b179957d39fb8ca880dbc3a964cd289a -r224b10a52b5c05999e18cb7bfe86f5706f939f89
#
# 
# 
# add_file "packages/monotone/monotone-6_0.33.bb"
#  content [1c6b9d90f86a0d276bd0f786c27f9a327f36430b]
# 
============================================================
--- packages/monotone/monotone-6_0.33.bb	1c6b9d90f86a0d276bd0f786c27f9a327f36430b
+++ packages/monotone/monotone-6_0.33.bb	1c6b9d90f86a0d276bd0f786c27f9a327f36430b
@@ -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/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"
+






More information about the Openembedded-commits mailing list