diff options
Diffstat (limited to 'meta/packages/libgsf/libgsf_1.12.2.bb')
-rw-r--r-- | meta/packages/libgsf/libgsf_1.12.2.bb | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/meta/packages/libgsf/libgsf_1.12.2.bb b/meta/packages/libgsf/libgsf_1.12.2.bb new file mode 100644 index 0000000000..02e95718dd --- /dev/null +++ b/meta/packages/libgsf/libgsf_1.12.2.bb | |||
@@ -0,0 +1,47 @@ | |||
1 | LICENSE = "GPL" | ||
2 | SECTION = "libs" | ||
3 | PR = "r0" | ||
4 | |||
5 | DEPENDS= "libxml2 glib-2.0 zlib gtk-doc libbonobo gnome-vfs" | ||
6 | |||
7 | PACKAGES =+ "${PN}-gnome ${PN}-gnome-dev " | ||
8 | |||
9 | FILES_${PN}-gnome = "${libdir}/libgsf-gnome-1.so.*" | ||
10 | FILES_${PN}-gnome-dev = "${libdir}/libgsf-gnome-1.* ${includedir}/libgsf-1/gsf-gnome" | ||
11 | |||
12 | inherit autotools pkgconfig gnome | ||
13 | |||
14 | libgsf_includes = "gsf-doc-meta-data.h gsf-infile.h gsf-input-textline.h \ | ||
15 | gsf-outfile-zip.h gsf-output-stdio.h gsf-impl-utils.h \ | ||
16 | gsf-input-bzip.h gsf-input.h gsf-outfile.h gsf-output.h \ | ||
17 | gsf-infile-impl.h gsf-input-gzip.h gsf-libxml.h \ | ||
18 | gsf-output-bzip.h gsf-structured-blob.h gsf-infile-msole.h \ | ||
19 | gsf-input-impl.h gsf-msole-utils.h gsf-output-gzip.h \ | ||
20 | gsf-timestamp.h gsf-infile-msvba.h gsf-input-iochannel.h \ | ||
21 | gsf-outfile-impl.h gsf-output-impl.h gsf-utils.h \ | ||
22 | gsf-infile-stdio.h gsf-input-memory.h gsf-outfile-msole.h \ | ||
23 | gsf-output-iochannel.h gsf.h gsf-infile-zip.h gsf-input-stdio.h \ | ||
24 | gsf-outfile-stdio.h gsf-output-memory.h gsf-output-csv.h \ | ||
25 | gsf-output-iconv.h gsf-meta-names.h " | ||
26 | |||
27 | libgsf_gnome_includes = "gsf-input-gnomevfs.h \ | ||
28 | gsf-output-gnomevfs.h \ | ||
29 | gsf-input-bonobo.h \ | ||
30 | gsf-output-bonobo.h \ | ||
31 | gsf-shared-bonobo-stream.h" | ||
32 | |||
33 | do_stage() { | ||
34 | oe_libinstall -so -C gsf libgsf-1 ${STAGING_LIBDIR} | ||
35 | |||
36 | mkdir -p ${STAGING_INCDIR}/libgsf-1/gsf/ | ||
37 | for i in ${libgsf_includes}; do | ||
38 | install -m 0644 gsf/$i ${STAGING_INCDIR}/libgsf-1/gsf/$i | ||
39 | done | ||
40 | |||
41 | oe_libinstall -so -C gsf-gnome libgsf-gnome-1 ${STAGING_LIBDIR} | ||
42 | |||
43 | mkdir -p ${STAGING_INCDIR}/libgsf-1/gsf-gnome/ | ||
44 | for i in ${libgsf_gnome_includes}; do | ||
45 | install -m 0644 gsf-gnome/$i ${STAGING_INCDIR}/libgsf-1/gsf-gnome/$i | ||
46 | done | ||
47 | } | ||