libxslt: remove $XBPS_CROSS_BASE reference from pkg-config
See-also: #19642
This commit is contained in:
parent
b94748f6a6
commit
33fb64640a
1 changed files with 10 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'libxslt'
|
||||
pkgname=libxslt
|
||||
version=1.1.34
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static --disable-dependency-tracking"
|
||||
hostmakedepends="libtool"
|
||||
|
@ -34,7 +34,15 @@ post_configure() {
|
|||
|
||||
post_install() {
|
||||
# Remove references to the install(1) wrapper.
|
||||
sed -e "s,${XBPS_WRAPPERDIR},/usr/bin,g" -i ${DESTDIR}/usr/bin/xslt-config
|
||||
vsed -e "s,${XBPS_WRAPPERDIR},/usr/bin,g" -i ${DESTDIR}/usr/bin/xslt-config
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
# Remove $XBPS_CROSS_BASE in pkg-config
|
||||
vsed -i -e "s,$XBPS_CROSS_BASE,,g" \
|
||||
$DESTDIR/usr/bin/xslt-config \
|
||||
$DESTDIR/usr/lib/pkgconfig/libxslt.pc \
|
||||
$DESTDIR/usr/lib/pkgconfig/libexslt.pc \
|
||||
$DESTDIR/usr/lib/xsltConf.sh
|
||||
fi
|
||||
vlicense COPYING
|
||||
}
|
||||
|
||||
|
@ -56,7 +64,6 @@ libxslt-devel_package() {
|
|||
libxslt-python_package() {
|
||||
lib32disabled=yes
|
||||
short_desc+=" - python extension"
|
||||
pycompile_module="libxslt.py"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/python*"
|
||||
vmove usr/share/doc/${sourcepkg}-python-${version}
|
||||
|
|
Loading…
Reference in a new issue