mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-01-24 01:42:15 +08:00
lib32-libxslt: update to 1.1.28
This commit is contained in:
parent
1add1cda80
commit
c3a6cf13f4
@ -1,21 +1,16 @@
|
||||
# Lib32 Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
||||
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
|
||||
|
||||
_pkgbasename=libxslt
|
||||
pkgname=lib32-$_pkgbasename
|
||||
pkgver=1.1.26
|
||||
pkgrel=2
|
||||
pkgver=1.1.28
|
||||
pkgrel=1
|
||||
pkgdesc="XML stylesheet transformation library (32-bit)"
|
||||
arch=('x86_64')
|
||||
url="http://xmlsoft.org/XSLT/"
|
||||
license=('custom')
|
||||
depends=('lib32-libxml2>=2.7.7' 'lib32-libgcrypt>=1.4.4' $_pkgbasename=$pkgver)
|
||||
makedepends=(gcc-multilib)
|
||||
options=('!libtool')
|
||||
depends=('lib32-libxml2' 'lib32-libgcrypt' $_pkgbasename=$pkgver)
|
||||
makedepends=('lib32-gcc-libs')
|
||||
checkdepends=('docbook-xml')
|
||||
source=(ftp://xmlsoft.org/libxslt/${_pkgbasename}-${pkgver}.tar.gz)
|
||||
md5sums=('e61d0364a30146aaa3001296f853b2b9')
|
||||
md5sums=('9667bf6f9310b957254fdcf6596600b7')
|
||||
|
||||
build() {
|
||||
export CC="gcc -m32"
|
||||
@ -23,6 +18,7 @@ build() {
|
||||
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
|
||||
|
||||
cd "${srcdir}/${_pkgbasename}-${pkgver}"
|
||||
sed -e 's|/usr/bin/python -u|/usr/bin/python2 -u|g' -e 's|/usr/bin/python$|/usr/bin/python2|g' -i python/tests/*.py
|
||||
./configure --prefix=/usr --libdir=/usr/lib32 --without-python
|
||||
make
|
||||
}
|
||||
@ -32,7 +28,9 @@ package() {
|
||||
|
||||
make DESTDIR="${pkgdir}" install
|
||||
|
||||
install -d "${pkgdir}"/usr/share/licenses
|
||||
ln -s ${_pkgbasename} "${pkgdir}"/usr/share/licenses/${pkgname}
|
||||
|
||||
rm -rf "${pkgdir}"/usr/{include,share,bin}
|
||||
mkdir -p "$pkgdir/usr/share/licenses"
|
||||
ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"
|
||||
rm -f "${pkgdir}"/usr/lib/python*/site-packages/*.a
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user