summaryrefslogtreecommitdiff
path: root/packages/monotone/monotone_0.19.bb
blob: 276bed4b6f7e57795fab80ada83227df42509f19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# This package builds the devio program
DESCRIPTION = "monotone - an SCM"
HOMEPAGE = "http://www.venge.net/"
MAINTAINER = "John Bowler <jbowler@acm.org>"
SECTION = "devel"
PRIORITY = "optional"
LICENSE = "MIT"
SUBV = "1"
PR = "r2"

SRC_URI = "http://www.venge.net/monotone/downloads/monotone_${PV}-${SUBV}.tar.gz \
	   file://txt2c-cross.patch;patch=1 \
	   file://cryptopp-endianness.patch;patch=1"
DEPENDS += "boost"
# Following may be required, not proved yet...
#TARGET_CFLAGS += "-fno-strict-aliasing"

PACKAGES = "${PN} ${PN}-doc ${PN}-testsuite"
tsd = "/home/monotone"
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"

# 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 \
		"

inherit autotools

# This makes the testsuite as a package
do_install_append() {
	install -d ${D}${tsd}
	install -c -m 755 testsuite ${D}${tsd}/testsuite
	cp -a tests ${D}${tsd}/tests
}