cacaoh-native: Removed legacy style staging
[openembedded.git] / recipes / monotone / monotone.inc
blob319309f0702fc04d7e2eb5a8b0ba82c6a9a093aa
1 DESCRIPTION = "Monotone is a distributed Source Control System"
2 HOMEPAGE = "http://www.venge.net/"
3 SECTION = "devel"
4 PRIORITY = "optional"
5 LICENSE = "MIT"
6 DEPENDS = "boost"
8 # Following may be required, not proved yet...
9 #TARGET_CFLAGS += "-fno-strict-aliasing"
11 S = "${WORKDIR}/monotone-${PV}"
13 # no cross compile support - it tries to run the test program even with
14 # --enable_ipv6=yes
15 EXTRA_OECONF = "--disable-ipv6 \
16                 --disable-dependency-tracking \
17                 --disable-rpath \
18                 --disable-nls \
19                 --with-gnu-ld \
20                 --with-bundled-lua --with-bundled-sqlite"
22 inherit autotools update-alternatives
24 ALTERNATIVE_NAME = "monotone"
25 ALTERNATIVE_LINK = "${bindir}/monotone"
26 ALTERNATIVE_PATH = "${bindir}/${PN}"
27 ALTERNATIVE_PRIORITY = "40"
29 # This makes the testsuite as a package and renames the monotone executable
30 # to include the netsync suffix.
31 do_install_append() {
32         install -d ${D}${tsd}
33         install -c -m 755 testsuite ${D}${tsd}/testsuite
34         cp -pPR tests ${D}${tsd}/tests
35         #
36         mv ${D}${bindir}/monotone ${D}${bindir}/${PN}
39 PACKAGES = "${PN}-dbg ${PN} ${PN}-doc ${PN}-testsuite"
40 tsd = "/home/monotone/${PN}"
41 FILES_${PN}-testsuite = "${tsd}/testsuite ${tsd}/tests"
42 RDEPENDS_${PN}-testsuite += "bash sed grep cvs patch perl perl-modules"