Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 1 | SUMMARY = "iCal and scheduling (RFC 2445, 2446, 2447) library" |
| 2 | HOMEPAGE = "https://github.com/libical/libical" |
| 3 | BUGTRACKER = "https://github.com/libical/libical/issues" |
| 4 | LICENSE = "LGPLv2.1 | MPL-1" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=d4fc58309d8ed46587ac63bb449d82f8 \ |
| 6 | file://LICENSE;md5=d1a0891cd3e582b3e2ec8fe63badbbb6" |
| 7 | SECTION = "libs" |
| 8 | |
| 9 | SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/v${PV}/${BP}.tar.gz \ |
| 10 | file://Remove-cmake-check-for-Perl.patch \ |
| 11 | " |
| 12 | DEPENDS = "icu" |
| 13 | |
| 14 | SRC_URI[md5sum] = "6bf8e5f5a3ba88baf390d0134e05d76e" |
| 15 | SRC_URI[sha256sum] = "654c11f759c19237be39f6ad401d917e5a05f36f1736385ed958e60cf21456da" |
| 16 | UPSTREAM_CHECK_URI = "https://github.com/libical/libical/releases" |
| 17 | |
| 18 | inherit cmake |
| 19 | |
| 20 | FILES_${PN}-dev += "${libdir}/cmake/*" |
| 21 | |
| 22 | # |
| 23 | # Turn specific library paths in the pkgconfig file into standard library entries |
| 24 | # |
| 25 | do_install_append () { |
| 26 | sed -i -e "s#${STAGING_LIBDIR}/lib\([a-z0-9]*\)\.so#-l\1#g" ${D}${libdir}/pkgconfig/libical.pc |
| 27 | } |