libxslt: introduce libxslt.inc, move checksums to recipe, add 1.1.26
authorMartin Jansa <Martin.Jansa@gmail.com>
Fri, 26 Mar 2010 07:28:58 +0000 (08:28 +0100)
committerMartin Jansa <Martin.Jansa@gmail.com>
Fri, 26 Mar 2010 07:37:33 +0000 (08:37 +0100)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
recipes/libxslt/libxslt.inc [new file with mode: 0644]
recipes/libxslt/libxslt_1.1.17.bb
recipes/libxslt/libxslt_1.1.21.bb
recipes/libxslt/libxslt_1.1.22.bb
recipes/libxslt/libxslt_1.1.26.bb [new file with mode: 0644]

diff --git a/recipes/libxslt/libxslt.inc b/recipes/libxslt/libxslt.inc
new file mode 100644 (file)
index 0000000..d2a4400
--- /dev/null
@@ -0,0 +1,21 @@
+DESCRIPTION = "GNOME XSLT library"
+SECTION = "libs"
+PRIORITY = "optional"
+DEPENDS = "libxml2 (>=2.6.27)"
+LICENSE = "MIT"
+INC_PR = "r4"
+
+SRC_URI = "ftp://xmlsoft.org/libxml2/${BPN}-${PV}.tar.gz;name=archive"
+S = "${WORKDIR}/${BPN}-${PV}"
+
+inherit autotools pkgconfig
+
+NATIVE_INSTALL_WORKS = "1"
+BBCLASSEXTEND = "native"
+
+EXTRA_OECONF = "--without-python --without-debug --without-mem-debug --without-crypto"
+
+PACKAGES = "${PN}-dbg ${PN}-dev ${PN}-utils ${PN} ${PN}-doc ${PN}-locale"
+
+FILES_${PN}-dev += "${bindir}/xslt-config"
+FILES_${PN}-utils += "${bindir}"
index d4fadc4..d52791f 100644 (file)
@@ -1,17 +1,10 @@
-DESCRIPTION = "GNOME XSLT library"
-SECTION = "libs"
-PRIORITY = "optional"
+require libxslt.inc
 DEPENDS = "libxml2"
-LICENSE = "MIT"
-PR = "r3"
+PR = "${INC_PR}.0"
 
-SRC_URI = "ftp://xmlsoft.org/libxml2/libxslt-${PV}.tar.gz \
-           file://destdir.patch;patch=1"
-S = "${WORKDIR}/libxslt-${PV}"
+SRC_URI += " file://destdir.patch;patch=1"
 
-inherit autotools pkgconfig
-
-EXTRA_OECONF = "--without-python --without-plugins --without-debug --without-mem-debug --without-crypto"
+EXTRA_OECONF += " --without-plugins"
 
 xsltheaders = "attributes.h documents.h extensions.h extra.h functions.h imports.h \
                keys.h namespaces.h numbersInternals.h pattern.h preproc.h security.h \
@@ -40,7 +33,5 @@ do_stage () {
        install -m 0644 libxslt.m4 ${STAGING_DATADIR}/aclocal/
 }
 
-PACKAGES = "${PN}-dbg ${PN}-dev ${PN}-utils ${PN} ${PN}-doc ${PN}-locale"
-
-FILES_${PN}-dev += "${bindir}/xslt-config"
-FILES_${PN}-utils += "${bindir}"
+SRC_URI[archive.md5sum] = "fde6a7a93c0eb14cba628692fa3a1000"
+SRC_URI[archive.sha256sum] = "d337faebd64ddb8c52cde23df8469e1b3c65545af5f939e9bb4be9eeb9658c8a"
index 282918e..34b5860 100644 (file)
@@ -1,22 +1,9 @@
-DESCRIPTION = "GNOME XSLT library"
-SECTION = "libs"
-PRIORITY = "optional"
-DEPENDS = "libxml2 (>=2.6.27)"
-LICENSE = "MIT"
-PR = "r2"
-
-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"
+require libxslt.inc
+PR = "${INC_PR}.0"
 
 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}"
+SRC_URI[archive.md5sum] = "59fe34e85692f71df2a38c2ee291b3ca"
+SRC_URI[archive.sha256sum] = "ccefd4ceb29bb729dcaa9a9d4a86654a9134adfd29bdd72be1a9d3726efb54e0"
index 068ff87..a93da16 100644 (file)
@@ -1,22 +1,6 @@
-DESCRIPTION = "GNOME XSLT library"
-SECTION = "libs"
-PRIORITY = "optional"
-DEPENDS = "libxml2 (>=2.6.27)"
-LICENSE = "MIT"
-PR = "r2"
+require libxslt.inc
+PR = "${INC_PR}.0"
 
-SRC_URI = "ftp://xmlsoft.org/libxml2/libxslt-${PV}.tar.gz \
-           file://pkgconfig_fix.patch;patch=1"
-S = "${WORKDIR}/libxslt-${PV}"
-
-inherit autotools pkgconfig
-
-NATIVE_INSTALL_WORKS = "1"
-BBCLASSEXTEND = "native"
-
-EXTRA_OECONF = "--without-python --without-debug --without-mem-debug --without-crypto"
-
-PACKAGES = "${PN}-dbg ${PN}-dev ${PN}-utils ${PN} ${PN}-doc ${PN}-locale"
-
-FILES_${PN}-dev += "${bindir}/xslt-config"
-FILES_${PN}-utils += "${bindir}"
+SRC_URI += " file://pkgconfig_fix.patch;patch=1"
+SRC_URI[archive.md5sum] = "d6a9a020a76a3db17848d769d6c9c8a9"
+SRC_URI[archive.sha256sum] = "4e1f39ee16596fd2a83d28d6c3b065f742254f3336f93ce8ed1cae48ecbe49da"
diff --git a/recipes/libxslt/libxslt_1.1.26.bb b/recipes/libxslt/libxslt_1.1.26.bb
new file mode 100644 (file)
index 0000000..8dfb33e
--- /dev/null
@@ -0,0 +1,4 @@
+require libxslt.inc
+PR = "${INC_PR}.0"
+SRC_URI[archive.md5sum] = "e61d0364a30146aaa3001296f853b2b9"
+SRC_URI[archive.sha256sum] = "55dd52b42861f8a02989d701ef716d6280bfa02971e967c285016f99c66e3db1"