From f4fcc5075c899780b2e8f84c333e1429cff43a59 Mon Sep 17 00:00:00 2001 From: Aleksey Lim Date: Fri, 22 Oct 2010 11:00:30 +0000 Subject: Add Bazaar recipe file --- 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 -- cgit v0.9.1