libxslt: adopted port
This commit is contained in:
parent
3f4386d764
commit
0b71f8b94e
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/opt.pub
|
||||
RWSE3ohX2g5d/Voy4yrJlJvUhYg8EZ6Eg7Cdx9ISZS6c+2teH3Bt3Z9OUxCg+Z6dum5pQvjJqaWOmg4x1OpG1eNb1kGNZXfeqwM=
|
||||
SHA256 (Pkgfile) = 50c45ce036fb8c7cc83ed9cf81345d754d3d2e82dad82238a867e9331b0036ca
|
||||
RWSE3ohX2g5d/bcUsY+CTpHqfHPpArCp7ntd14jl6PGE0AM1RxSbkf5KdMCEGfCCHbR9+RC2faQnqKTqhVxddwgMfWkcuV2UqQQ=
|
||||
SHA256 (Pkgfile) = fcc8457d242ef070a425ee2701111dd37bcfd6e8b7fb93aee3a05684ff3c96b5
|
||||
SHA256 (.footprint) = da6a2f9e85f51e919f4cb3230e293a3d2c8dbeedac0a98304a5c9173ee99e6bd
|
||||
SHA256 (libxslt-1.1.38.tar.xz) = 1f32450425819a09acaff2ab7a5a7f8a2ec7956e505d7beeb45e843d0e1ecab1
|
||||
|
@ -1,25 +1,26 @@
|
||||
# Description: XSL Transformations library.
|
||||
# URL: http://xmlsoft.org/XSLT/
|
||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
||||
# Depends on: libxml2
|
||||
# Description: XSL Transformations library
|
||||
# URL: https://gitlab.gnome.org/GNOME/libxslt/-/wikis/home
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
# Depends on: libxml2 python3-setuptools
|
||||
# Optional: libgcrypt
|
||||
|
||||
name=libxslt
|
||||
version=1.1.38
|
||||
release=1
|
||||
release=2
|
||||
source=(https://download.gnome.org/sources/libxslt/${version:0:3}/libxslt-$version.tar.xz)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
cd $name-$version
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--without-python \
|
||||
--without-crypto
|
||||
prt-get isinst libgcrypt || PKGMK_LIBXSLT+=' --without-crypto'
|
||||
|
||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||
./configure $PKGMK_LIBXSLT \
|
||||
--prefix=/usr
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||
|
||||
rm -r $PKG/usr/share/{gtk-,}doc
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
rm -r $PKG/usr/share/{gtk-,}doc
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user