1 DESCRIPTION
= "GNOME XSLT library"
8 SRC_URI
= "ftp://xmlsoft.org/libxml2/libxslt-${PV}.tar.gz \
9 file://destdir.patch;patch=1"
10 S
= "${WORKDIR}/libxslt-${PV}"
12 inherit autotools pkgconfig
14 EXTRA_OECONF
= "--without-python --without-plugins --without-debug --without-mem-debug --without-crypto"
16 xsltheaders
= "attributes.h documents.h extensions.h extra.h functions.h imports.h \
17 keys.h namespaces.h numbersInternals.h pattern.h preproc.h security.h \
18 templates.h transform.h variables.h xslt.h xsltInternals.h xsltconfig.h \
19 xsltexports.h xsltutils.h"
20 exsltheaders
= "exslt.h exsltconfig.h exsltexports.h"
23 oe_libinstall
-C libxslt
-so
-a libxslt $
{STAGING_LIBDIR
}
24 oe_libinstall
-C libexslt
-so
-a libexslt $
{STAGING_LIBDIR
}
26 mkdir
-p $
{STAGING_INCDIR
}/libxslt
27 for i in $
{xsltheaders
}; do
28 install
-m
0644 $
{S
}/libxslt
/$i $
{STAGING_INCDIR
}/libxslt
/$i
30 mkdir
-p $
{STAGING_INCDIR
}/libexslt
31 for i in $
{exsltheaders
}; do
32 install
-m
0644 $
{S
}/libexslt
/$i $
{STAGING_INCDIR
}/libexslt
/$i
35 cat xslt
-config | sed
-e
"s,^prefix=.*,prefix=${STAGING_DIR_HOST}${layout_prefix}," \
36 -e
"s,^exec_prefix=.*,exec_prefix=${STAGING_DIR_HOST}${layout_exec_prefix}," \
37 -e
"s,^includedir=.*,includedir=${STAGING_INCDIR}," \
38 -e
"s,^libdir=.*,libdir=${STAGING_LIBDIR}," > $
{STAGING_BINDIR_CROSS
}/xslt
-config
39 chmod a
+rx $
{STAGING_BINDIR_CROSS
}/xslt
-config
40 install
-m
0644 libxslt.m4 $
{STAGING_DATADIR
}/aclocal
/
43 PACKAGES
= "${PN}-dbg ${PN}-dev ${PN}-utils ${PN} ${PN}-doc ${PN}-locale"
45 FILES_$
{PN
}-dev
+= "${bindir}/xslt-config"
46 FILES_$
{PN
}-utils
+= "${bindir}"