Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | SECTION = "e/apps" |
| 2 | |
| 3 | inherit e-base autotools pkgconfig binconfig |
| 4 | |
| 5 | do_prepsources () { |
| 6 | make clean distclean || true |
| 7 | } |
| 8 | addtask prepsources after do_patch before do_configure |
| 9 | |
| 10 | do_configure_append() { |
| 11 | find ${B} -name Makefile | xargs sed -i s:'-I$(includedir)':'-I.':g |
| 12 | } |
| 13 | |
| 14 | export CURL_CONFIG = "${STAGING_BINDIR_CROSS}/curl-config" |
| 15 | export FREETYPE_CONFIG = "${STAGING_BINDIR_CROSS}/freetype-config" |
| 16 | |
| 17 | PACKAGES =+ "${PN}-themes" |
| 18 | PACKAGES += "${PN}-lib" |
| 19 | |
| 20 | FILES_${PN}-lib = "${libdir}/lib*.so.*" |
| 21 | FILES_${PN}-themes = "${datadir}/${PN}/themes ${datadir}/${PN}/data ${datadir}/${PN}/fonts ${datadir}/${PN}/pointers ${datadir}/${PN}/images ${datadir}/${PN}/users ${datadir}/${PN}/images ${datadir}/${PN}/styles" |
| 22 | FILES_${PN}-dev += "${includedir} ${libdir}/lib*.so" |