summaryrefslogtreecommitdiff
path: root/atk/atk_1.2.0.oe
blob: a31207f74dc675f757c944b131364b2d0736da45 (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
DEPENDS = "virtual/libc glib-2.0"
RDEPENDS = "libc6 glib-2.0"
DESCRIPTION = "An accessibility toolkit for GNOME."

SRC_URI = "http://ftp.gnome.org/pub/gnome/sources/atk/1.2/atk-${PV}.tar.bz2 \
	   file://${FILESDIR}/m4.patch;patch=1"

inherit autotools libtool pkgconfig

EXTRA_OECONF = "--disable-glibtest"

CFLAGS_append = " -I${STAGING_INCDIR}/glib-2.0 \
		  -I${STAGING_INCDIR}/glib-2.0/glib \
	 	  -I${STAGING_INCDIR}/glib-2.0/gobject"

do_stage () {
	install -m 0755 atk/.libs/libatk-1.0.so.0.200.0 ${STAGING_LIBDIR}/
	install -m 0755 atk/.libs/libatk-1.0.lai ${STAGING_LIBDIR}/libatk-1.0.la
	install -m 0755 atk/.libs/libatk-1.0.a ${STAGING_LIBDIR}/
	ln -sf libatk-1.0.so.0.200.0 ${STAGING_LIBDIR}/libatk-1.0.so.0
	ln -sf libatk-1.0.so.0.200.0 ${STAGING_LIBDIR}/libatk-1.0.so
	install -d ${STAGING_INCDIR}/atk
	install -m 0644 atk/atkaction.h ${STAGING_INCDIR}/atk/atkaction.h
	install -m 0644 atk/atkcomponent.h ${STAGING_INCDIR}/atk/atkcomponent.h
	install -m 0644 atk/atkdocument.h ${STAGING_INCDIR}/atk/atkdocument.h
	install -m 0644 atk/atkeditabletext.h ${STAGING_INCDIR}/atk/atkeditabletext.h
	install -m 0644 atk/atk-enum-types.h ${STAGING_INCDIR}/atk/atk-enum-types.h
	install -m 0644 atk/atkgobjectaccessible.h ${STAGING_INCDIR}/atk/atkgobjectaccessible.h
	install -m 0644 atk/atk.h ${STAGING_INCDIR}/atk/atk.h
	install -m 0644 atk/atkhyperlink.h ${STAGING_INCDIR}/atk/atkhyperlink.h
	install -m 0644 atk/atkhypertext.h ${STAGING_INCDIR}/atk/atkhypertext.h
	install -m 0644 atk/atkimage.h ${STAGING_INCDIR}/atk/atkimage.h
	install -m 0644 atk/atknoopobjectfactory.h ${STAGING_INCDIR}/atk/atknoopobjectfactory.h
	install -m 0644 atk/atknoopobject.h ${STAGING_INCDIR}/atk/atknoopobject.h
	install -m 0644 atk/atkobjectfactory.h ${STAGING_INCDIR}/atk/atkobjectfactory.h
	install -m 0644 atk/atkobject.h ${STAGING_INCDIR}/atk/atkobject.h
	install -m 0644 atk/atkregistry.h ${STAGING_INCDIR}/atk/atkregistry.h
	install -m 0644 atk/atkrelation.h ${STAGING_INCDIR}/atk/atkrelation.h
	install -m 0644 atk/atkrelationset.h ${STAGING_INCDIR}/atk/atkrelationset.h
	install -m 0644 atk/atkrelationtype.h ${STAGING_INCDIR}/atk/atkrelationtype.h
	install -m 0644 atk/atkselection.h ${STAGING_INCDIR}/atk/atkselection.h
	install -m 0644 atk/atkstate.h ${STAGING_INCDIR}/atk/atkstate.h
	install -m 0644 atk/atkstateset.h ${STAGING_INCDIR}/atk/atkstateset.h
	install -m 0644 atk/atkstreamablecontent.h ${STAGING_INCDIR}/atk/atkstreamablecontent.h
	install -m 0644 atk/atktable.h ${STAGING_INCDIR}/atk/atktable.h
	install -m 0644 atk/atktext.h ${STAGING_INCDIR}/atk/atktext.h
	install -m 0644 atk/atkutil.h ${STAGING_INCDIR}/atk/atkutil.h
	install -m 0644 atk/atkvalue.h ${STAGING_INCDIR}/atk/atkvalue.h
}