diff options
Diffstat (limited to 'meta/recipes-support/libxslt')
-rw-r--r-- | meta/recipes-support/libxslt/libxslt/pkgconfig_fix.patch | 22 | ||||
-rw-r--r-- | meta/recipes-support/libxslt/libxslt_1.1.26.bb | 26 |
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 @@ | |||
1 | Index: 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@ | ||
12 | Index: 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 @@ | |||
1 | DESCRIPTION = "GNOME XSLT library" | ||
2 | HOMEPAGE = "http://xmlsoft.org/XSLT/" | ||
3 | BUGTRACKER = "https://bugzilla.gnome.org/" | ||
4 | |||
5 | LICENSE = "MIT" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=0cd9a07afbeb24026c9b03aecfeba458" | ||
7 | |||
8 | SECTION = "libs" | ||
9 | PRIORITY = "optional" | ||
10 | DEPENDS = "libxml2 (>=2.6.27)" | ||
11 | PR = "r0" | ||
12 | |||
13 | SRC_URI = "ftp://xmlsoft.org/libxslt//libxslt-${PV}.tar.gz \ | ||
14 | file://pkgconfig_fix.patch;patch=1" | ||
15 | S = "${WORKDIR}/libxslt-${PV}" | ||
16 | |||
17 | inherit autotools pkgconfig | ||
18 | |||
19 | EXTRA_OECONF = "--without-python --without-debug --without-mem-debug --without-crypto" | ||
20 | |||
21 | PACKAGES = "${PN}-dbg ${PN}-dev ${PN}-utils ${PN} ${PN}-doc ${PN}-locale" | ||
22 | |||
23 | FILES_${PN}-dev += "${bindir}/xslt-config" | ||
24 | FILES_${PN}-utils += "${bindir}" | ||
25 | |||
26 | BBCLASSEXTEND = "native" | ||