]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/monotone/monotone.inc
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / monotone / monotone.inc
1 DESCRIPTION = "Monotone is a distributed Source Control System"
2 HOMEPAGE = "http://www.venge.net/"
3 MAINTAINER = "John Bowler <jbowler@acm.org>"
4 SECTION = "devel"
5 PRIORITY = "optional"
6 LICENSE = "MIT"
7 DEPENDS = "boost"
8
9 # Following may be required, not proved yet...
10 #TARGET_CFLAGS += "-fno-strict-aliasing"
11
12 S = "${WORKDIR}/monotone-${PV}"
13
14 # no cross compile support - it tries to run the test program even with
15 # --enable_ipv6=yes
16 EXTRA_OECONF = "--disable-ipv6 \
17                 --disable-dependency-tracking \
18                 --disable-rpath \
19                 --disable-nls \
20                 --with-gnu-ld \
21                 --with-bundled-lua --with-bundled-sqlite"
22
23 inherit autotools update-alternatives
24
25 ALTERNATIVE_NAME = "monotone"
26 ALTERNATIVE_LINK = "${bindir}/monotone"
27 ALTERNATIVE_PATH = "${bindir}/${PN}"
28 ALTERNATIVE_PRIORITY = "40"
29
30 # This makes the testsuite as a package and renames the monotone executable
31 # to include the netsync suffix.
32 do_install_append() {
33         install -d ${D}${tsd}
34         install -c -m 755 testsuite ${D}${tsd}/testsuite
35         cp -pPR tests ${D}${tsd}/tests
36         #
37         mv ${D}${bindir}/monotone ${D}${bindir}/${PN}
38 }
39
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"