1 DESCRIPTION = "Monotone is a distributed Source Control System"
2 HOMEPAGE = "http://www.venge.net/"
3 MAINTAINER = "John Bowler <jbowler@acm.org>"
9 # Following may be required, not proved yet...
10 #TARGET_CFLAGS += "-fno-strict-aliasing"
12 S = "${WORKDIR}/monotone-${PV}"
14 # no cross compile support - it tries to run the test program even with
16 EXTRA_OECONF = "--disable-ipv6 \
17 --disable-dependency-tracking \
21 --with-bundled-lua --with-bundled-sqlite"
23 inherit autotools update-alternatives
25 ALTERNATIVE_NAME = "monotone"
26 ALTERNATIVE_LINK = "${bindir}/monotone"
27 ALTERNATIVE_PATH = "${bindir}/${PN}"
28 ALTERNATIVE_PRIORITY = "40"
30 # This makes the testsuite as a package and renames the monotone executable
31 # to include the netsync suffix.
34 install -c -m 755 testsuite ${D}${tsd}/testsuite
35 cp -pPR tests ${D}${tsd}/tests
37 mv ${D}${bindir}/monotone ${D}${bindir}/${PN}
40 PACKAGES = "${PN} ${PN}-doc ${PN}-testsuite"
41 tsd = "/home/monotone/${PN}"
42 FILES_${PN}-testsuite = "${tsd}/testsuite ${tsd}/tests"
43 RDEPENDS_${PN}-testsuite += "bash sed grep cvs patch perl perl-modules"