Building but not working monotone - still has problems in cryptopp (in
authorJohn Bowler <jbowler@nslu2-linux.org>
Wed, 6 Jul 2005 07:48:46 +0000 (07:48 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Wed, 6 Jul 2005 07:48:46 +0000 (07:48 +0000)
the rsa code).

packages/monotone/monotone_0.20.bb [new file with mode: 0644]

diff --git a/packages/monotone/monotone_0.20.bb b/packages/monotone/monotone_0.20.bb
new file mode 100644 (file)
index 0000000..dc7abc7
--- /dev/null
@@ -0,0 +1,37 @@
+# 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"
+PR = "r0"
+
+SRC_URI = "http://venge.net/monotone/downloads/monotone-${PV}.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"
+
+# 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
+}