summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libxslt
diff options
context:
space:
mode:
authorAdrian Dudau <adrian.dudau@enea.com>2014-06-26 14:36:22 +0200
committerAdrian Dudau <adrian.dudau@enea.com>2014-06-26 15:32:53 +0200
commitf4cf9fe05bb3f32fabea4e54dd92d368967a80da (patch)
tree487180fa9866985ea7b28e625651765d86f515c3 /meta/recipes-support/libxslt
downloadpoky-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.patch24
-rw-r--r--meta/recipes-support/libxslt/libxslt_1.1.28.bb38
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 @@
1Upstream-Status: Inappropriate [configuration]
2
3Index: 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@
14Index: 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 @@
1SUMMARY = "GNOME XSLT library"
2HOMEPAGE = "http://xmlsoft.org/XSLT/"
3BUGTRACKER = "https://bugzilla.gnome.org/"
4
5LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://Copyright;md5=0cd9a07afbeb24026c9b03aecfeba458"
7
8SECTION = "libs"
9DEPENDS = "libxml2"
10
11SRC_URI = "ftp://xmlsoft.org/libxslt//libxslt-${PV}.tar.gz \
12 file://pkgconfig_fix.patch"
13
14SRC_URI[md5sum] = "9667bf6f9310b957254fdcf6596600b7"
15SRC_URI[sha256sum] = "5fc7151a57b89c03d7b825df5a0fae0a8d5f05674c0e7cf2937ecec4d54a028c"
16S = "${WORKDIR}/libxslt-${PV}"
17
18inherit autotools pkgconfig binconfig lib_package
19
20# We don't DEPEND on binutils for ansidecl.h so ensure we don't use the header
21do_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
29EXTRA_OECONF = "--without-python --without-debug --without-mem-debug --without-crypto"
30# older versions of this recipe had ${PN}-utils
31RPROVIDES_${PN}-bin += "${PN}-utils"
32RCONFLICTS_${PN}-bin += "${PN}-utils"
33RREPLACES_${PN}-bin += "${PN}-utils"
34
35FILES_${PN} += "${libdir}/libxslt-plugins"
36FILES_${PN}-dev += "${libdir}/xsltConf.sh"
37
38BBCLASSEXTEND = "native"