libxslt: repair cross build.
This commit is contained in:
parent
57b0dc3385
commit
84ee2ad38f
1 changed files with 4 additions and 9 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template build file for 'libxslt'.
|
||||
pkgname=libxslt
|
||||
version=1.1.28
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static"
|
||||
makedepends="python-devel libxml2-devel libgcrypt-devel"
|
||||
|
@ -11,15 +11,9 @@ homepage="http://xmlsoft.org/XSLT/"
|
|||
license="MIT"
|
||||
distfiles="ftp://xmlsoft.org/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||
checksum=5fc7151a57b89c03d7b825df5a0fae0a8d5f05674c0e7cf2937ecec4d54a028c
|
||||
long_desc="
|
||||
Libxslt is the XSLT C library developed for the Gnome project. XSLT itself is
|
||||
an XML language to define transformation for XML. Libxslt is based on libxml2
|
||||
the XML C library developed for the Gnome project. It also implements most of
|
||||
the EXSLT set of extensions functions and some of Saxon's evaluate and
|
||||
expressions extensions."
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
hostmakedepends="libtool automake gettext-devel python-devel"
|
||||
hostmakedepends="libtool automake gettext-devel ${makedepends}"
|
||||
pre_configure() {
|
||||
sed -e "s|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g" -i configure.in
|
||||
autoreconf -fi
|
||||
|
@ -36,13 +30,14 @@ post_install() {
|
|||
}
|
||||
|
||||
libxslt-devel_package() {
|
||||
depends="libxml2-devel libxslt-${version}_${revision}"
|
||||
depends="libxml2-devel ${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/bin/xslt-config
|
||||
vmove usr/lib/xsltConf.sh
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove "usr/lib/*.so"
|
||||
vmove usr/share/aclocal
|
||||
vmove usr/share/doc/${sourcepkg}-${version}
|
||||
vmove usr/share/man/man3
|
||||
|
|
Loading…
Reference in a new issue