diff options
Diffstat (limited to 'sweets.recipe')
-rw-r--r-- | sweets.recipe | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/sweets.recipe b/sweets.recipe new file mode 100644 index 0000000..9616cb9 --- /dev/null +++ b/sweets.recipe @@ -0,0 +1,33 @@ +[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; ./autogen.sh +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=%(DESTDIR)s install +implement = %(install)s && + rm -rf %(DESTDIR)s/%(PREFIX)s/bin && + rm -rf %(DESTDIR)s/%(PREFIX)s/python && + ln -s %(BUILDDIR)s/bin %(DESTDIR)s/%(PREFIX)s/ && + ln -s %(BUILDDIR)s/src %(DESTDIR)s/%(PREFIX)s/python && + ln -fs .libs/metadatareader.so src/carquinyol/ + +[Source] +exec = ./autogen.sh && make distcheck |