William A. Kennington III | b95905d | 2021-06-02 12:40:56 -0700 | [diff] [blame] | 1 | SUMMARY = "shared library for GIF images" |
| 2 | SECTION = "libs" |
| 3 | LICENSE = "MIT" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=ae11c61b04b2917be39b11f78d71519a" |
| 5 | |
| 6 | CVE_PRODUCT = "giflib_project:giflib" |
| 7 | |
| 8 | DEPENDS = "xmlto-native" |
| 9 | |
| 10 | SRC_URI = "${SOURCEFORGE_MIRROR}/giflib/${BP}.tar.gz" |
| 11 | SRC_URI[sha256sum] = "31da5562f44c5f15d63340a09a4fd62b48c45620cd302f77a6d9acf0077879bd" |
| 12 | |
| 13 | do_install() { |
| 14 | # using autotools's default will end up in /usr/local |
| 15 | oe_runmake DESTDIR=${D} PREFIX=${prefix} LIBDIR=${libdir} install |
| 16 | } |
| 17 | |
| 18 | PACKAGES += "${PN}-utils" |
| 19 | FILES_${PN} = "${libdir}/libgif.so.*" |
| 20 | FILES_${PN}-utils = "${bindir}" |
| 21 | |
| 22 | BBCLASSEXTEND = "native" |
| 23 | |
| 24 | RDEPENDS_${PN}-utils = "perl" |