DESCRIPTION = "O-Hand Jana Library"
DEPENDS = "libmokojournal2 gtk+ eds-dbus gconf" 
PV = "0.1.0+svnr${SRCREV}"
PR = "r5"

inherit autotools pkgconfig lib_package

SRC_URI = "svn://svn.o-hand.com/repos/jana/;module=trunk;proto=http"
S = "${WORKDIR}/trunk/"

EXTRA_OECONF = "--enable-examples "

do_configure_prepend() {
	touch gtk-doc.make
}

do_stage() {
	autotools_stage_all
}

PACKAGES =+ "libjana-ecal libjana-ecal-dbg \
             libjana-gtk libjana-gtk-dbg \ 
            "

LEAD_SONAME = "libjana.so"

FILES_libjana-ecal = "${libdir}/libjana-ecal.so.*"
FILES_libjana-ecal-dbg += "${libdir}/.debug/libjana-ecal*"
FILES_libjana-gtk = "${libdir}/libjana-gtk.so.* ${datadir}/jana/landwater.vmf"
FILES_libjana-gtk-dbg += "${libdir}/.debug/libjana-gtk.so.*"
FILES_libjana-bin_append = " ${datadir}/jana/flag-uk.png "