summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libxslt
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/libxslt')
-rw-r--r--meta/recipes-support/libxslt/libxslt/pkgconfig_fix.patch22
-rw-r--r--meta/recipes-support/libxslt/libxslt_1.1.26.bb26
2 files changed, 48 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..d21663896f
--- /dev/null
+++ b/meta/recipes-support/libxslt/libxslt/pkgconfig_fix.patch
@@ -0,0 +1,22 @@
1Index: libxslt-1.1.22/libexslt.pc.in
2===================================================================
3--- libxslt-1.1.22.orig/libexslt.pc.in 2008-03-19 16:52:20.000000000 +0000
4+++ libxslt-1.1.22/libexslt.pc.in 2008-03-19 16:55:49.000000000 +0000
5@@ -8,5 +8,5 @@
6 Version: @LIBEXSLT_VERSION@
7 Description: EXSLT Extension library
8 Requires: libxml-2.0
9-Libs: @EXSLT_LIBDIR@ @EXSLT_LIBS@
10+Libs: -lexslt @EXSLT_LIBDIR@ @M_LIBS@
11 Cflags: @EXSLT_INCLUDEDIR@
12Index: libxslt-1.1.22/libxslt.pc.in
13===================================================================
14--- libxslt-1.1.22.orig/libxslt.pc.in 2008-03-19 16:52:20.000000000 +0000
15+++ libxslt-1.1.22/libxslt.pc.in 2008-03-19 16:55:38.000000000 +0000
16@@ -8,5 +8,5 @@
17 Version: @VERSION@
18 Description: XSLT library version 2.
19 Requires: libxml-2.0
20-Libs: @XSLT_LIBDIR@ @XSLT_LIBS@
21+Libs: -lxslt @XSLT_LIBDIR@ @M_LIBS@
22 Cflags: @XSLT_INCLUDEDIR@
diff --git a/meta/recipes-support/libxslt/libxslt_1.1.26.bb b/meta/recipes-support/libxslt/libxslt_1.1.26.bb
new file mode 100644
index 0000000000..b5726974f1
--- /dev/null
+++ b/meta/recipes-support/libxslt/libxslt_1.1.26.bb
@@ -0,0 +1,26 @@
1DESCRIPTION = "GNOME XSLT library"
2HOMEPAGE = "http://xmlsoft.org/XSLT/"
3BUGTRACKER = "https://bugzilla.gnome.org/"
4
5LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://COPYING;md5=0cd9a07afbeb24026c9b03aecfeba458"
7
8SECTION = "libs"
9PRIORITY = "optional"
10DEPENDS = "libxml2 (>=2.6.27)"
11PR = "r0"
12
13SRC_URI = "ftp://xmlsoft.org/libxslt//libxslt-${PV}.tar.gz \
14 file://pkgconfig_fix.patch;patch=1"
15S = "${WORKDIR}/libxslt-${PV}"
16
17inherit autotools pkgconfig
18
19EXTRA_OECONF = "--without-python --without-debug --without-mem-debug --without-crypto"
20
21PACKAGES = "${PN}-dbg ${PN}-dev ${PN}-utils ${PN} ${PN}-doc ${PN}-locale"
22
23FILES_${PN}-dev += "${bindir}/xslt-config"
24FILES_${PN}-utils += "${bindir}"
25
26BBCLASSEXTEND = "native"