summaryrefslogtreecommitdiff
path: root/packages/monotone/monotone-5_0.20.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/monotone/monotone-5_0.20.bb')
-rw-r--r--packages/monotone/monotone-5_0.20.bb50
1 files changed, 4 insertions, 46 deletions
diff --git a/packages/monotone/monotone-5_0.20.bb b/packages/monotone/monotone-5_0.20.bb
index ec98ec26d2..3a61df634f 100644
--- a/packages/monotone/monotone-5_0.20.bb
+++ b/packages/monotone/monotone-5_0.20.bb
@@ -1,51 +1,9 @@
-# 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"
+include monotone.inc
+
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/${PN}"
-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"
-
-S = "${WORKDIR}/monotone-${PV}"
-
-# 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 \
- "
+ file://txt2c-cross.patch;patch=1 \
+ file://cryptopp-endianness.patch;patch=1"
-inherit autotools update-alternatives
-
-ALTERNATIVE_NAME = "monotone"
-ALTERNATIVE_LINK = "${bindir}/monotone"
-ALTERNATIVE_PATH = "${bindir}/${PN}"
ALTERNATIVE_PRIORITY = "50"
-
-
-# This makes the testsuite as a package and renames the monotone executable
-# to include the netsync suffix.
-do_install_append() {
- install -d ${D}${tsd}
- install -c -m 755 testsuite ${D}${tsd}/testsuite
- cp -a tests ${D}${tsd}/tests
- #
- mv ${D}${bindir}/monotone ${D}${bindir}/${PN}
-}