smlinux/base/libxslt/libxslt.SMBuild

37 lines
800 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libxslt
version=1.1.42
build=1sml
homepage="http://www.xmlsoft.org/"
download="ftp://xmlsoft.org/libxslt/libxslt-$version.tar.gz"
desc="XML transformation library"
requires="libgcrypt python3 libxml2"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
applypatch $srcdir/libxslt-increase-max-depth.diff
}
build() {
./configure \
--prefix=/usr \
--disable-static \
--with-python=/usr/bin/python
make
make install DESTDIR=$pkg
cp Copyright $pkgdocs/
mkfinalpkg
}
sha512sums="
a6f6b73d9dfc2fddd216af9c1153fe04975c36d6ada04369e13666c49b09b93951cf166ce64be3119025d355bdd6b2045707cb1d0e18e15050c3d63c7f6ea3b1 libxslt-1.1.42.tar.lz
"