Merge oe-devel@oe-devel.bkbits.net:packages
[openembedded.git] / gtk-webcore / osb-nrcore_0.5.0.oe
1 LICENSE = GPL
2 DESCRIPTION = "Gtk+ WebCore - rendering engine"
3 HOMEPAGE = "http://gtk-webcore.sourceforge.net/"
4 PRIORITY = "optional"
5 MAINTAINER = "Rene Wagner <rw@handhelds.org>"
6 DEPENDS = "glib-2.0 gtk+ pango osb-jscore"
7 SECTION = "gpe"
8 PR = "r1"
9
10 SRC_URI = "${SOURCEFORGE_MIRROR}/gtk-webcore/osb-nrcore-${PV}.tar.gz \
11            file://KWQDictImpl.patch;patch=1"
12
13 LEAD_SONAME = "libnrcore.so"
14
15 inherit autotools pkgconfig
16
17 do_configure () {
18         autotools_do_configure
19         cd ${S}
20
21         # prevent libtool from linking libs against libstdc++, libgcc, ...
22         cat arm-linux-libtool | sed -e 's/postdeps=".*"/postdeps=""/' > arm-linux-libtool.tmp
23         mv arm-linux-libtool.tmp arm-linux-libtool
24 }
25
26 do_stage () {
27         oe_libinstall -so libnrcore ${STAGING_LIBDIR}
28         oe_libinstall -so -C kwiq libnrcore_kwiq_gtk ${STAGING_LIBDIR}
29
30         autotools_stage_includes
31         
32         install -d ${STAGING_INCDIR}/osb/NRCore
33         for i in ${S}/kwiq/WebCore*.h ${S}/kwiq/KWIQ*.h; do
34                 install -m 0644 $i ${STAGING_INCDIR}/osb/NRCore
35         done
36 }