summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-03-05 15:32:17 +0000
committerKoen Kooi <koen@openembedded.org>2008-03-05 15:32:17 +0000
commitdea55824a681effd4b0d84a7f194b21606a228a2 (patch)
tree2bb5c0cc276c7f0f8204bd249beac26732be56cf /packages
parent66ba17bd07a7e44543ba0f1f94abba829872e6ab (diff)
libxslt: add 1.1.22 and bruteforce fix pkgconfig files
Diffstat (limited to 'packages')
-rw-r--r--packages/libxslt/libxslt_1.1.22.bb28
1 files changed, 28 insertions, 0 deletions
diff --git a/packages/libxslt/libxslt_1.1.22.bb b/packages/libxslt/libxslt_1.1.22.bb
new file mode 100644
index 0000000000..53348becc9
--- /dev/null
+++ b/packages/libxslt/libxslt_1.1.22.bb
@@ -0,0 +1,28 @@
+DESCRIPTION = "GNOME XSLT library"
+SECTION = "libs"
+PRIORITY = "optional"
+DEPENDS = "libxml2 (>=2.6.27)"
+LICENSE = "MIT"
+
+SRC_URI = "ftp://xmlsoft.org/libxml2/libxslt-${PV}.tar.gz"
+S = "${WORKDIR}/libxslt-${PV}"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "--without-python --without-debug --without-mem-debug --without-crypto"
+
+# Something is wrong inside configure.ac, so we need to resort to sed in this stage :(
+# Koen - 20080305
+do_compile_append() {
+ sed -i -e s:-L${STAGING_LIBDIR}::g libexslt.pc
+ sed -i -e s:-L${STAGING_LIBDIR}::g libxslt.pc
+}
+
+do_stage () {
+ autotools_stage_all
+}
+
+PACKAGES = "${PN}-dbg ${PN}-dev ${PN}-utils ${PN} ${PN}-doc ${PN}-locale"
+
+FILES_${PN}-dev += "${bindir}/xslt-config"
+FILES_${PN}-utils += "${bindir}"