DESCRIPTION = "RFC2425 MIME Directory Profile library, supporting vCard and iCalendar" SECTION = "libs" PRIORITY = "optional" LICENSE = "LGPL" RDEPENDS = "libc6" 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 libtool 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" libname = "libmimedir-0.2.so.0.0.0" do_stage() { install -d ${STAGING_INCDIR}/mimedir-1.0/mimedir for i in ${headers}; do install -m 0644 mimedir/$i ${STAGING_INCDIR}/mimedir-1.0/mimedir/$i done install -m 0755 mimedir/.libs/${libname} ${STAGING_LIBDIR}/ ln -s ${libname} ${STAGING_LIBDIR}/libmimedir-0.2.so.0 ln -s ${libname} ${STAGING_LIBDIR}/libmimedir.so install -m 0755 mimedir/libmimedir.la ${STAGING_LIBDIR}/ }