summaryrefslogtreecommitdiff
path: root/recipes/bazaar/bazaar_1.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/bazaar/bazaar_1.2.bb')
-rw-r--r--recipes/bazaar/bazaar_1.2.bb62
1 files changed, 62 insertions, 0 deletions
diff --git a/recipes/bazaar/bazaar_1.2.bb b/recipes/bazaar/bazaar_1.2.bb
new file mode 100644
index 0000000000..e64b442733
--- /dev/null
+++ b/recipes/bazaar/bazaar_1.2.bb
@@ -0,0 +1,62 @@
+# bazaar OE build file
+# Copyright (C) 2005 Chris Larson <kergoth@handhelds.org>
+# Released under the MIT license (see the COPYING file in this tree)
+#
+# NOTE:
+# * Does not have an LDFLAGS variable on its link lines, only the "libs"
+# variable, which makes it troublesome to add -L's to the link. For now,
+# we cheat and pass it in CFLAGS.
+
+DEPENDS += "neon"
+DESCRIPTION = "bazaar is an implementation of GNU Arch in C, based on tla."
+HOMEPAGE = "http://bazaar.canonical.com/"
+LICENSE = "GPL"
+PRIORITY = "optional"
+SECTION = "devel"
+PR = "r2"
+RDEPENDS_${PN} += "patch"
+RSUGGESTS_${PN} += "gnupg"
+
+SRC_URI = "http://bazaar.canonical.com/releases/src/bazaar_${PV}.tar.gz \
+ file://no_archive_format_guess_msg.patch;patch=1 \
+ file://import_dirarg.patch;patch=1"
+
+S = "${WORKDIR}/thelove@canonical.com---dists--bazaar--1.2"
+B = "${WORKDIR}/build-${HOST_SYS}"
+
+CFLAGS += "-I${B} -I${S}/src -I${S}/src/baz"
+EXTRA_OEMAKE = "'CC=${CC}' \
+ 'CFLAGS=${CFLAGS} ${LDFLAGS}' \
+ \
+ 'test-scripts=' \
+ 'test-progs=' \
+ 'prefix=${D}${prefix}' \
+ 'program-install-dir=${D}${bindir}' \
+ 'cgi-install-dir=${D}${libdir}/cgi' \
+ 'library-install-dir=${D}${libdir}' \
+ 'include-install-dir=${D}${includedir}/$(thispath)' \
+ 'etc-install-dir=${D}${sysconfdir}' \
+ 'libexec-install-dir=${D}${libexecdir}' \
+ 'info-install-dir=${D}${infodir}' \
+ 'man-install-dir=${D}${mandir}' \
+ 'scm-install-dir=${D}${datadir}/scheme' \
+ 'doc-install-dir=${D}${docdir}/$(thispath)' \
+ 'data-install-dir=${D}${datadir}/$(thispath)' \
+ 'locale-install-dir=${D}${datadir}/locale'"
+PARALLEL_MAKE = ""
+
+
+do_configure () {
+ ${S}/src/configure ${CONFARGS}
+
+}
+
+do_compile () {
+ oe_runmake
+}
+
+do_install () {
+ oe_runmake install-all
+ sed -e 's,^#!.*$$,#!/usr/bin/gawk -f,' ${S}/src/baz/=gpg-check.awk > \
+ ${D}${bindir}/bazaar-gpg-check
+}