Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksey Lim <alsroot@member.fsf.org>2010-10-22 11:00:30 (GMT)
committer Aleksey Lim <alsroot@member.fsf.org>2010-10-22 11:00:30 (GMT)
commitf4fcc5075c899780b2e8f84c333e1429cff43a59 (patch)
treecaca8d66b783e0718e9d12bb5f095ebfbcbdc5f8
parent3c415218dbdc112a26eef7eec2c6608eb100487c (diff)
Add Bazaar recipe file
-rw-r--r--.gitignore4
-rw-r--r--sweets.recipe32
2 files changed, 34 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index e99077d..5abf3f2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,6 +8,8 @@
*.lo
*.loT
*.service
+*.so
+*.tar.*
# Absolute
Makefile
@@ -33,6 +35,4 @@ m4/ltoptions.m4
m4/ltsugar.m4
m4/ltversion.m4
m4/lt~obsolete.m4
-*.tar.*
.sweets
-install
diff --git a/sweets.recipe b/sweets.recipe
new file mode 100644
index 0000000..085e528
--- /dev/null
+++ b/sweets.recipe
@@ -0,0 +1,32 @@
+[DEFAULT]
+sweet = sugar-datastore
+summary = Backend of the Sugar Journal
+license = LGPLv2.1+
+homepage = http://git.sugarlabs.org/projects/sugar-datastore
+
+version = 0.90.0
+stability = testing
+
+[Component]
+requires = sugar-toolkit; python-cjson; xapian-bindings-python
+binding = PATH bin; PYTHONPATH python; XDG_DATA_DIRS share
+arch = any
+
+[Build]
+requires = pkg-config; intltool >= 0.33; make; gcc-c; python
+cleanup = make distclean
+configure = ./configure
+ --prefix=%(PREFIX)s
+ am_cv_python_pythondir=%(PREFIX)s/python
+ am_cv_python_pyexecdir=%(PREFIX)s/python
+ CFLAGS="%(CFLAGS)s"
+make = make
+install = make DESTDIR=%(DISTDIR)s install
+implement = %(install)s &&
+ rm -rf %(DISTDIR)s/%(PREFIX)s/{bin,python} &&
+ ln -s %(BUILDDIR)s/bin %(DISTDIR)s/%(PREFIX)s/ &&
+ ln -s %(BUILDDIR)s/src %(DISTDIR)s/%(PREFIX)s/python &&
+ ln -fs .libs/metadatareader.so src/carquinyol/
+
+[Source]
+exec = ./autogen.sh && make distcheck