blob: f16f1989130328674473113e1830d5191a057af0 (
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
|
LICENSE = "GPL"
SECTION = "libs"
PR = "r2"
DEPENDS= "libxml2 glib-2.0 zlib gtk-doc libbonobo gnome-vfs"
PACKAGES =+ "${PN}-gnome ${PN}-gnome-dev "
FILES_${PN}-gnome = "${libdir}/libgsf-gnome-1.so.*"
FILES_${PN}-gnome-dev = "${libdir}/libgsf-gnome-1.* ${includedir}/libgsf-1/gsf-gnome"
inherit autotools pkgconfig gnome
libgsf_includes = "gsf-doc-meta-data.h gsf-infile.h gsf-input-textline.h \
gsf-outfile-zip.h gsf-output-stdio.h gsf-impl-utils.h \
gsf-input-bzip.h gsf-input.h gsf-outfile.h gsf-output.h \
gsf-infile-impl.h gsf-input-gzip.h gsf-libxml.h \
gsf-output-bzip.h gsf-structured-blob.h gsf-infile-msole.h \
gsf-input-impl.h gsf-msole-utils.h gsf-output-gzip.h \
gsf-timestamp.h gsf-infile-msvba.h gsf-input-iochannel.h \
gsf-outfile-impl.h gsf-output-impl.h gsf-utils.h \
gsf-infile-stdio.h gsf-input-memory.h gsf-outfile-msole.h \
gsf-output-iochannel.h gsf.h gsf-infile-zip.h gsf-input-stdio.h \
gsf-outfile-stdio.h gsf-output-memory.h gsf-output-csv.h"
libgsf_gnome_includes = "gsf-input-gnomevfs.h \
gsf-output-gnomevfs.h \
gsf-input-bonobo.h \
gsf-output-bonobo.h \
gsf-shared-bonobo-stream.h"
do_stage() {
oe_libinstall -so -C gsf libgsf-1 ${STAGING_LIBDIR}
mkdir -p ${STAGING_INCDIR}/libgsf-1/gsf/
for i in ${libgsf_includes}; do
install -m 0644 gsf/$i ${STAGING_INCDIR}/libgsf-1/gsf/$i
done
oe_libinstall -so -C gsf-gnome libgsf-gnome-1 ${STAGING_LIBDIR}
mkdir -p ${STAGING_INCDIR}/libgsf-1/gsf-gnome/
for i in ${libgsf_gnome_includes}; do
install -m 0644 gsf-gnome/$i ${STAGING_INCDIR}/libgsf-1/gsf-gnome/$i
done
}
SRC_URI[archive.md5sum] = "34c4672edd2e4e814fb82d7b94d71ffd"
SRC_URI[archive.sha256sum] = "d471b74e778be690d39dad4d41758bc779fc00bba8e87e9fad0457d09d987dd1"
|