smlinux/base/libxslt/libxslt.SMBuild
PktSurf 1ddfe9abba * Fixed indentation in base/docbook build file
* Replaced patch command with applypatch function in multiple build files in base, xorg, gtk, extra and xfce sections
2022-02-23 23:21:55 +05:30

37 lines
1.1 KiB
Text
Executable file

app=libxslt
version=1.1.34
build=1sml
homepage='http://www.xmlsoft.org/'
download='ftp://xmlsoft.org/libxslt/libxslt-1.1.34.tar.gz'
desc="XML transformation library"
requires="libgcrypt python3 libxml2"
build() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
# Thank you Arch Linux
applypatch $srcdir/0001-Make-generate-id-deterministic.patch
applypatch $srcdir/0002-Fix-manpage.patch
./configure \
--prefix="" \
--disable-static
make
make install DESTDIR=$pkg
cp Copyright $pkgdocs/
mkfinalpkg
}
sha512sums="
29d7edf7124cbe79858dda78f59a6ab080ab861ef877eb1ad241e63e31b8d77bd1637a6afb349ac71acff81eaa6b78d32bf124cf735d7656457f23d1c600c4ce libxslt-1.1.34.tar.lz
78bcec1a74ff5b480b50767ee95b57ad74ec777e1d909cd753a2380c221bf94bd089bfdc3d73ad1b9d443d56ae16813da6a0434f2ee42f4332d241056be3205e 0001-Make-generate-id-deterministic.patch
daa4e26d979bba79f55c42e5e5cec7368e8f666a17353aafe6276da41ab02d018994a8b1a667c28fe5a4c32a48cc8f284629d1f2097d3fb33339f6cde5f73e17 0002-Fix-manpage.patch
"