summaryrefslogtreecommitdiff
path: root/packages/nonworking/efl/esmart.inc
blob: 9b8114de53451a86c3c4211ba96ebf4e1374f441 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
DESCRIPTION = "ESmart is a collection of smart Evas objects"
LICENSE = "MIT"
DEPENDS = "virtual/evas virtual/ecore virtual/imlib2 epsilon edje libtool"
PROVIDES += "virtual/esmart"

inherit efl

SRC_URI = "http://enlightenment.freedesktop.org/files/esmart-${PV}.tar.gz \
           ${E_CVS};module=e17/libs/esmart/m4;date=20060101"

do_configure_prepend() {
	install -d "${S}/m4"
	install "${WORKDIR}/m4/"*.m4 "${S}/m4"
	aclocal -I m4
}

S = "${WORKDIR}/esmart-${PV}"
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/esmart"

headers = ""
libraries = ""

myheaders = "<override me>"
mylibraries = "<override me>"

do_stage_append() {
	install -d ${STAGING_INCDIR}/Esmart/
	for i in ${myheaders}; do
		install -m 0644 ${S}/src/lib/$i ${STAGING_INCDIR}/Esmart/
	done
	oe_libinstall -C src/lib libsmart ${STAGING_LIBDIR}/
	for i in ${mylibraries}; do
		oe_libinstall -C src/lib/$i lib$i ${STAGING_LIBDIR}/
	done
}

PACKAGES =+ "libesmart-textentry \
             libesmart-thumb \
             libesmart-container \
             libesmart-container-plugins \
             libesmart-file-dialog \
             libesmart-draggies \
             libesmart-trans-x11"
FILES_libesmart-textentry = "${libdir}/libesmart_text_entry*.so*"
FILES_libesmart-thumb = "${libdir}/libesmart_thumb*.so*"
FILES_libesmart-container = "${libdir}/libesmart_container*"
DEPENDS_libesmart-container += "libesmart-container-plugins"
FILES_libesmart-container-plugins = "${libdir}/esmart/layout/*.so"
FILES_libesmart-file-dialog = "${libdir}/libesmart_file_dialog*.so*"
FILES_libesmart-draggies = "${libdir}/libesmart_draggies*.so*"
FILES_libesmart-trans-x11 = "${libdir}/libesmart_trans_x11*.so*"