diff options
author | Adrian Dudau <adrian.dudau@enea.com> | 2014-06-26 14:36:22 +0200 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2014-06-26 15:32:53 +0200 |
commit | f4cf9fe05bb3f32fabea4e54dd92d368967a80da (patch) | |
tree | 487180fa9866985ea7b28e625651765d86f515c3 /meta/recipes-support/libxslt | |
download | poky-f4cf9fe05bb3f32fabea4e54dd92d368967a80da.tar.gz |
initial commit for Enea Linux 4.0
Migrated from the internal git server on the daisy-enea branch
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'meta/recipes-support/libxslt')
-rw-r--r-- | meta/recipes-support/libxslt/libxslt/pkgconfig_fix.patch | 24 | ||||
-rw-r--r-- | meta/recipes-support/libxslt/libxslt_1.1.28.bb | 38 |
2 files changed, 62 insertions, 0 deletions
diff --git a/meta/recipes-support/libxslt/libxslt/pkgconfig_fix.patch b/meta/recipes-support/libxslt/libxslt/pkgconfig_fix.patch new file mode 100644 index 0000000000..16a801010c --- /dev/null +++ b/meta/recipes-support/libxslt/libxslt/pkgconfig_fix.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | Upstream-Status: Inappropriate [configuration] | ||
2 | |||
3 | Index: libxslt-1.1.27/libexslt.pc.in | ||
4 | =================================================================== | ||
5 | --- libxslt-1.1.27.orig/libexslt.pc.in | ||
6 | +++ libxslt-1.1.27/libexslt.pc.in | ||
7 | @@ -8,5 +8,5 @@ Name: libexslt | ||
8 | Version: @LIBEXSLT_VERSION@ | ||
9 | Description: EXSLT Extension library | ||
10 | Requires: libxml-2.0 | ||
11 | -Libs: @EXSLT_LIBDIR@ @EXSLT_LIBS@ | ||
12 | +Libs: -lexslt @EXSLT_LIBDIR@ @EXSLT_LIBS@ | ||
13 | Cflags: @EXSLT_INCLUDEDIR@ | ||
14 | Index: libxslt-1.1.27/libxslt.pc.in | ||
15 | =================================================================== | ||
16 | --- libxslt-1.1.27.orig/libxslt.pc.in | ||
17 | +++ libxslt-1.1.27/libxslt.pc.in | ||
18 | @@ -8,5 +8,5 @@ Name: libxslt | ||
19 | Version: @VERSION@ | ||
20 | Description: XSLT library version 2. | ||
21 | Requires: libxml-2.0 | ||
22 | -Libs: @XSLT_LIBDIR@ @XSLT_LIBS@ @EXTRA_LIBS@ | ||
23 | +Libs: -lxslt @XSLT_LIBDIR@ @XSLT_LIBS@ @EXTRA_LIBS@ | ||
24 | Cflags: @XSLT_INCLUDEDIR@ | ||
diff --git a/meta/recipes-support/libxslt/libxslt_1.1.28.bb b/meta/recipes-support/libxslt/libxslt_1.1.28.bb new file mode 100644 index 0000000000..24401bb4be --- /dev/null +++ b/meta/recipes-support/libxslt/libxslt_1.1.28.bb | |||
@@ -0,0 +1,38 @@ | |||
1 | SUMMARY = "GNOME XSLT library" | ||
2 | HOMEPAGE = "http://xmlsoft.org/XSLT/" | ||
3 | BUGTRACKER = "https://bugzilla.gnome.org/" | ||
4 | |||
5 | LICENSE = "MIT" | ||
6 | LIC_FILES_CHKSUM = "file://Copyright;md5=0cd9a07afbeb24026c9b03aecfeba458" | ||
7 | |||
8 | SECTION = "libs" | ||
9 | DEPENDS = "libxml2" | ||
10 | |||
11 | SRC_URI = "ftp://xmlsoft.org/libxslt//libxslt-${PV}.tar.gz \ | ||
12 | file://pkgconfig_fix.patch" | ||
13 | |||
14 | SRC_URI[md5sum] = "9667bf6f9310b957254fdcf6596600b7" | ||
15 | SRC_URI[sha256sum] = "5fc7151a57b89c03d7b825df5a0fae0a8d5f05674c0e7cf2937ecec4d54a028c" | ||
16 | S = "${WORKDIR}/libxslt-${PV}" | ||
17 | |||
18 | inherit autotools pkgconfig binconfig lib_package | ||
19 | |||
20 | # We don't DEPEND on binutils for ansidecl.h so ensure we don't use the header | ||
21 | do_configure_prepend () { | ||
22 | sed -i -e 's/ansidecl.h//' ${S}/configure.in | ||
23 | |||
24 | # The timestamps in the 1.1.28 tarball are messed up causing this file to | ||
25 | # appear out of date. Touch it so that we don't try to regenerate it. | ||
26 | touch ${S}/doc/xsltproc.1 | ||
27 | } | ||
28 | |||
29 | EXTRA_OECONF = "--without-python --without-debug --without-mem-debug --without-crypto" | ||
30 | # older versions of this recipe had ${PN}-utils | ||
31 | RPROVIDES_${PN}-bin += "${PN}-utils" | ||
32 | RCONFLICTS_${PN}-bin += "${PN}-utils" | ||
33 | RREPLACES_${PN}-bin += "${PN}-utils" | ||
34 | |||
35 | FILES_${PN} += "${libdir}/libxslt-plugins" | ||
36 | FILES_${PN}-dev += "${libdir}/xsltConf.sh" | ||
37 | |||
38 | BBCLASSEXTEND = "native" | ||