summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}"