smlinux/base/mandoc/mandoc.SMBuild
PktSurf 6035441c5b Upgraded base/curl to 7.88.1
Upgraded base/exiv2 to 0.27.5
Upgraded base/gdbm to 1.23
Upgraded base/gettext to 0.21.1
Upgraded base/git to 2.30.8
Upgraded base/glib to 2.70.3
Fixed build option in base/gnutls
Upgraded base/htop to 3.2.2
Upgraded base/icu to 72.1
Upgraded base/iptables to 1.8.9, discarded old patches
Upgraded base/libarchive to 3.6.2
Upgraded base/logrotate to 3.21.0
Upgraded base/make to 4.4
Discarded obsolete build options and fixed configure.local of base/mandoc
Upgraded base/mozilla-nss to 3.87 and nspr which is part of it to 4.35
Upgraded base/openssl to 1.1.1t
Added sha512 checksum for tar lzip file inside base/tar
2023-03-09 22:06:21 +05:30

49 lines
No EOL
1.8 KiB
Text
Executable file

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"
build() {
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
cp $srcdir/configure.local configure.local
./configure
make
make DESTDIR=$pkg PREFIX="" LIBDIR=/lib base-install lib-install
cp LICENSE $pkgdocs/
(
cd $pkg/bin
for i in apropos makewhatis man whatis ; do
rm "$pkg"/bin/"$i"
ln -sf mandoc "$pkg"/bin/"$i"
done
)
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
"