1 MAINTAINER = "Justin Patrin <papercrane@reversefold.com>"
2 HOMEPAGE = "http://www.enlightenment.org"
5 inherit autotools pkgconfig binconfig
8 make clean distclean || true
10 addtask prepsources after do_fetch before do_unpack
12 def binconfig_suffix(d):
14 return ["","-native"][bb.data.inherits_class('native', d)]
16 export CURL_CONFIG = "${STAGING_BINDIR}/curl-config${@binconfig_suffix(d)}"
17 export EDB_CONFIG = "${STAGING_BINDIR}/edb-config${@binconfig_suffix(d)}"
18 export EET_CONFIG = "${STAGING_BINDIR}/eet-config${@binconfig_suffix(d)}"
19 export EVAS_CONFIG = "${STAGING_BINDIR}/evas-config${@binconfig_suffix(d)}"
20 export ECORE_CONFIG = "${STAGING_BINDIR}/ecore-config${@binconfig_suffix(d)}"
21 export EMBRYO_CONFIG = "${STAGING_BINDIR}/embryo-config${@binconfig_suffix(d)}"
22 export ENGRAVE_CONFIG = "${STAGING_BINDIR}/engrave-config${@binconfig_suffix(d)}"
23 export ENLIGHTENMENT_CONFIG = "${STAGING_BINDIR}/enlightenment-config${@binconfig_suffix(d)}"
24 export EPSILON_CONFIG = "${STAGING_BINDIR}/epsilon-config${@binconfig_suffix(d)}"
25 export EPEG_CONFIG = "${STAGING_BINDIR}/epeg-config${@binconfig_suffix(d)}"
26 export ESMART_CONFIG = "${STAGING_BINDIR}/esmart-config${@binconfig_suffix(d)}"
27 export FREETYPE_CONFIG = "${STAGING_BINDIR}/freetype-config${@binconfig_suffix(d)}"
28 export IMLIB2_CONFIG = "${STAGING_BINDIR}/imlib2-config${@binconfig_suffix(d)}"
30 do_compile_prepend() {
31 find ${S} -name Makefile | xargs sed -i 's:/usr/include:${STAGING_INCDIR}:'
32 find ${S} -name Makefile | xargs sed -i 's:/usr/X11R6/include:${STAGING_INCDIR}:'
35 E_CVS = "cvs://anonymous@anoncvs.enlightenment.org:/var/cvs/e"
36 E_URI = "http://enlightenment.freedesktop.org/files"
38 PACKAGES = "${PN} ${PN}-themes"
39 FILES_${PN} = "${libdir}/lib*.so*"
40 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"