diff options
author | Aleksey 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) |
commit | f4fcc5075c899780b2e8f84c333e1429cff43a59 (patch) | |
tree | caca8d66b783e0718e9d12bb5f095ebfbcbdc5f8 | |
parent | 3c415218dbdc112a26eef7eec2c6608eb100487c (diff) |
Add Bazaar recipe file
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | sweets.recipe | 32 |
2 files changed, 34 insertions, 2 deletions
@@ -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 |