summaryrefslogtreecommitdiff
path: root/libmimedir/libmimedir_0.0-20040307.oe
blob: f9fd48851e12b11f3ae6d7083c5298250d7b2b96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DESCRIPTION = "RFC2425 MIME Directory Profile library, supporting vCard and iCalendar"
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "LGPL"
DEPENDS = "virtual/libc intltool-native"

SRC_URI = "http://gpe.handhelds.org/pub/projects/gpe/source/libmimedir-snapshot-20040307.tar.gz"
S = "${WORKDIR}/libmimedir"

inherit autotools  pkgconfig

headers = "mimedir-attachment.h mimedir-attendee.h mimedir-attribute.h mimedir-datetime.h mimedir-init.h mimedir-period.h mimedir-profile.h mimedir-recurrence-rule.h mimedir-recurrence.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
}