summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-08-30 09:54:55 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-30 09:54:55 +0000
commit05311f309771f77f1c53d2d8b10c3ed68a16b9e1 (patch)
tree36389902a2b62487dc38595bc4f146a7cdf3bfb4
parentac9aa71d0d9d36ae6cd07f37c50d6992e384cb29 (diff)
libmimedir: add upstream source
-rw-r--r--packages/libmimedir/libmimedir_cvs.bb26
1 files changed, 26 insertions, 0 deletions
diff --git a/packages/libmimedir/libmimedir_cvs.bb b/packages/libmimedir/libmimedir_cvs.bb
new file mode 100644
index 0000000000..922334add6
--- /dev/null
+++ b/packages/libmimedir/libmimedir_cvs.bb
@@ -0,0 +1,26 @@
+DESCRIPTION = "RFC2425 MIME Directory Profile library, supporting vCard and iCalendar"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "LGPL"
+DEPENDS = "intltool-native"
+PR = "r0"
+PV = "0.0+cvs-${CVSDATE}"
+
+SRC_URI = "cvs://anonymous@anoncvs.gnome.org/cvs/gnome;module=libmimedir"
+S = "${WORKDIR}/libmimedir"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "--disable-gtk-doc"
+
+headers = "mimedir-attachment.h mimedir-attendee.h mimedir-attribute.h mimedir-datetime.h mimedir-init.h mimedir-period.h mimedir-profile.h mimedir-valarm.h mimedir-vcal.h mimedir-vcard-address.h mimedir-vcard-email.h mimedir-vcard-phone.h mimedir-vcard.h mimedir-vcomponent.h mimedir-vevent.h mimedir-vfreebusy.h mimedir-vjournal.h mimedir-vtimezone.h mimedir-vtodo.h mimedir.h"
+
+do_stage() {
+ install -d ${STAGING_INCDIR}/mimedir-1.0/mimedir
+ for i in ${headers}; do
+ install -m 0644 ${S}/mimedir/$i ${STAGING_INCDIR}/mimedir-1.0/mimedir/$i
+ done
+
+ oe_libinstall -so -C mimedir libmimedir-0.2 ${STAGING_LIBDIR}
+ ln -sf libmimedir-0.2.so ${STAGING_LIBDIR}/libmimedir.so
+}