lynx, tidy: adopted, with slightly modified build options

This commit is contained in:
John McQuah 2023-03-03 16:14:00 -05:00
parent 2d0f2f197e
commit 183552d5f8
4 changed files with 17 additions and 18 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3y3bgv009fEvcOxGaOcPlkWJWNtId1FjcFNxTWZog0cFSqQAICDkvEMAjj79dhHG0a2ftsHqFcTeeTdVWcbnDQo=
SHA256 (Pkgfile) = 34a60d0c724c82c30ccb9e9a80f0bc11e9f71028a6a494aa48e5b48022f13810
RWSagIOpLGJF38NnyFs9ggNHxVjQ41oEqM+5l1nLs/w00bCgzv4ZrsI2O7NldCXQlHe4S8xX/OdmPRE0jHU5gcgAjpX6vUu9IA8=
SHA256 (Pkgfile) = a9fad1da75f71a043c8ad6142bcf156292f779e9dfad1868a6681d3edfd58050
SHA256 (.footprint) = 3b22ed545f3a1403432447183afc67b052735c0869852b7771979b48e2e4fb09
SHA256 (lynx2.8.9rel.1.tar.bz2) = 387f193d7792f9cfada14c60b0e5c0bff18f227d9257a39483e14fa1aaf79595
SHA256 (lynx2.9.0dev.12.tar.bz2) = a6455b159d00776d8ec1051285c972dc1f0c552d0571a0cff02a23ec146ee8e5

View File

@ -1,23 +1,23 @@
# Description: Text-based web browser.
# URL: https://lynx.invisible-island.net/
# Maintainer: Danny Rawlins, crux at romster dot me
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: ncurses openssl zlib
name=lynx
version=2.8.9
_relver=${version}rel.1
version=2.9.0dev.12
release=1
source=(https://invisible-mirror.net/archives/lynx/tarballs/${name}${_relver}.tar.bz2)
source=(https://invisible-mirror.net/archives/lynx/tarballs/${name}${version}.tar.bz2)
build() {
cd ${name}${_relver}
cd ${name}${version}
./configure \
--prefix=/usr \
--disable-nls \
--enable-color-style \
--enable-default-colors \
--disable-nls \
--enable-ipv6 \
--with-ssl=/usr/lib \
--with-ssl \
--with-zlib
make

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3ydkqoqz4uQ7+Y1USAT8Er1CU78jGRsvhe5WngV+Q1IxDMgmoPCjil/PSACFDH2ziXLEcATzjgueFSjBlYXNmAQ=
SHA256 (Pkgfile) = d30838e7b5e72b80b8ca73f1e80092eda0f0714ac6afe58f004ff7720aaa70b3
RWSagIOpLGJF3/SDGmxJifQ9d15yuHu4oS9ieCvKnx38hxRCRzuYPFC174SuwAl5paRa5ypZno4BXIWhmgl5EywC3RlOdQNoRg8=
SHA256 (Pkgfile) = 53f6ff8c651a344c6cde78f15c4d8bb98624a3d50ab909a68bb4a90639ee3e84
SHA256 (.footprint) = aa8ee357d2799aa6aa52292b42f8d14a8a09223899468d2b51b3d8735aa5b0a7
SHA256 (tidy-5.8.0.tar.gz) = 59c86d5b2e452f63c5cdb29c866a12a4c55b1741d7025cf2f3ce0cde99b0660e

View File

@ -1,7 +1,7 @@
# Description: A tool to tidy down your HTML code to a clean style
# URL: https://www.html-tidy.org/
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: libxslt cmake
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: libxslt
name=tidy
version=5.8.0
@ -9,16 +9,15 @@ release=1
source=(https://github.com/htacg/tidy-html5/archive/$version/$name-$version.tar.gz)
build() {
[[ -e /usr/bin/ninja ]] && PKGMK_TIDY+=' -G Ninja'
cmake -S tidy-html5-$version -B build $PKGMK_TIDY \
cmake -S tidy-html5-$version -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
ninja -C build -j ${JOBS:-1}
DESTDIR=$PKG ninja -C build install
# Compatibility symlinks until everything is ported
ln -s tidybuffio.h $PKG/usr/include/buffio.h