summaryrefslogtreecommitdiff
path: root/packages/monotone/monotone.inc
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2005-07-16 22:33:56 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-16 22:33:56 +0000
commit86a9c79a72bc08f7496b0af0acd721a6d6203222 (patch)
tree87c609ae936acccfa0aa8a643dc8ec793302a1ee /packages/monotone/monotone.inc
parentfe3dc9b7310e70bb1eac866a5b55b5f4bfbdf0df (diff)
monotone: extract common stuff into monotone.inc
Diffstat (limited to 'packages/monotone/monotone.inc')
-rw-r--r--packages/monotone/monotone.inc45
1 files changed, 45 insertions, 0 deletions
diff --git a/packages/monotone/monotone.inc b/packages/monotone/monotone.inc
new file mode 100644
index 0000000000..a0b9463cd8
--- /dev/null
+++ b/packages/monotone/monotone.inc
@@ -0,0 +1,45 @@
+DESCRIPTION = "Monotone is a distributed Source Control System"
+HOMEPAGE = "http://www.venge.net/"
+MAINTAINER = "John Bowler <jbowler@acm.org>"
+SECTION = "devel"
+PRIORITY = "optional"
+LICENSE = "MIT"
+DEPENDS = "boost"
+
+# Following may be required, not proved yet...
+#TARGET_CFLAGS += "-fno-strict-aliasing"
+
+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 update-alternatives
+
+ALTERNATIVE_NAME = "monotone"
+ALTERNATIVE_LINK = "${bindir}/monotone"
+ALTERNATIVE_PATH = "${bindir}/${PN}"
+ALTERNATIVE_PRIORITY = "40"
+
+# 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 -a tests ${D}${tsd}/tests
+ #
+ mv ${D}${bindir}/monotone ${D}${bindir}/${PN}
+}
+
+PACKAGES = "${PN} ${PN}-doc ${PN}-testsuite"
+tsd = "/home/monotone/${PN}"
+FILES_${PN}-testsuite = "${tsd}/testsuite ${tsd}/tests"
+RDEPENDS_${PN}-testsuite += "bash sed grep cvs"
+# The testsuite also requires the following - not yet available...
+#RDEPENDS_${PN}-testsuite += "patch perl"