smlinux/base/mandoc/mandoc.SMBuild
PktSurf fd68de3553 Upgraded base/llvm to 17.0.6
Fixed base/mandoc build configuration file
Upgraded base/xmlto to 0.0.29
Added /usr as build prefix to above build files and also to base/nodejs
2024-10-21 14:59:42 +05:30

44 lines
1.7 KiB
Text
Executable file

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=mandoc
version=1.14.5
build=1sml
homepage="https://mandoc.bsd.lv/"
download="https://mandoc.bsd.lv/snapshots/mandoc-$version.tar.gz"
desc="UNIX manpage compiler suite"
requires="less zlib"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
applypatch $srcdir/main.c.patch
applypatch $srcdir/fix-tbl-segfault.patch
applypatch $srcdir/shared-libmandoc.patch
applypatch $srcdir/simplify-compat.patch
applypatch $srcdir/outdated-warn-disable.patch
}
build() {
cp $srcdir/configure.local configure.local
./configure --p
make
make DESTDIR=$pkg base-install lib-install
cp LICENSE $pkgdocs/
mkfinalpkg
}
sha512sums="
cba0c95ebb290cdc33767f8ffe338171c8494924a8bd919ca5626cc0bddbcece5bddf0399136652fbbedcfc96d8276cbf4597af56e37263a22eee756d2dca456 mandoc-1.14.5.tar.lz
0861027ece94c23395df3a235e8320a7353976df79d623a2fdbdd1673c5b745394726600a494d7403d52d18cefbdf9b3b9456b7f3813f8d9fe452a4c384f30e3 fix-tbl-segfault.patch
59eed3d6f6bba6a03cea86dac0cfae085b22aa42304be9671edd4f6e6751a939392977b64271bcfbd5e12052219df6b6be396f7ffdba3c450e16050213792654 main.c.patch
ced05e8b57fb9705c6d8d8570cd6b06ad187511a4c243ac2dbc34064aa164ca49e0c877160134161dcb98ebd5e61a5c23d5741f03ef95903ff56193dd07f36a1 outdated-warn-disable.patch
b1bd2c197584948cc8bab2310e759b8942b9f9479254ffb5a8223cfa6ba03c9e1a4d402c5440b8d9f962be9a020287d3dd8556592c17f2b46f15f405d9d373cb shared-libmandoc.patch
0979e8ee20d6163669f7ab3ace1f959ba9d831c208785c3522261c72ddc2f60ce8420ed36ea963c46a72b9ffdbcb9199da436b13e14c0ca4d938351d170adfa7 simplify-compat.patch
"