diff --git a/www-client/links/links-2.20.2.recipe b/www-client/links/links-2.20.2.recipe new file mode 100644 index 000000000..a46f70cf5 --- /dev/null +++ b/www-client/links/links-2.20.2.recipe @@ -0,0 +1,88 @@ +SUMMARY="A graphics and text mode web browser" +DESCRIPTION="Links is a multi-platform web browser you can run in Terminal." +HOMEPAGE="http://links.twibright.com/" +COPYRIGHT="1999-2019 Mikulas Patocka + 2000-2011 Petr Kulhavy, Karel Kulhavy, Martin Pergel" +LICENSE="GNU GPL v2" +REVISION="1" +SOURCE_URI="http://links.twibright.com/download/links-$portVersion.tar.bz2" +CHECKSUM_SHA256="4b4f07d0e6261118d1365a5a5bfa31e1eafdbd280cfae6f0e9eedfea51a2f424" +#PATCHES="links-$portVersion.patchset" + +ARCHITECTURES="!x86_gcc2 x86_64" +SECONDARY_ARCHITECTURES="?x86" + +commandSuffix=$secondaryArchSuffix +commandBinDir=$binDir +if [ "$targetArchitecture" = x86_gcc2 ]; then + commandSuffix= + commandBinDir=$prefix/bin +fi + +USER_SETTINGS_FILES=" + settings/links directory + " + +PROVIDES=" + links$secondaryArchSuffix = $portVersion + cmd:links$commandSuffix = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix + lib:libbrotlicommon$secondaryArchSuffix + lib:libbz2$secondaryArchSuffix + lib:libcrypto$secondaryArchSuffix + lib:libevent_2.1$secondaryArchSuffix + lib:libfontconfig$secondaryArchSuffix + lib:libfreetype$secondaryArchSuffix + lib:libgomp$secondaryArchSuffix + lib:libjpeg$secondaryArchSuffix + lib:liblzma$secondaryArchSuffix + lib:libpng16$secondaryArchSuffix + lib:libssl$secondaryArchSuffix + lib:libtiff$secondaryArchSuffix + lib:libz$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + devel:libbrotlicommon$secondaryArchSuffix + devel:libbz2$secondaryArchSuffix + devel:libcrypto$secondaryArchSuffix + devel:libevent_2.1$secondaryArchSuffix + devel:libfontconfig$secondaryArchSuffix + devel:libfreetype$secondaryArchSuffix + devel:libglu$secondaryArchSuffix + devel:libjpeg$secondaryArchSuffix + devel:liblzma$secondaryArchSuffix + devel:libpng16$secondaryArchSuffix + devel:libssl$secondaryArchSuffix + devel:libtiff$secondaryArchSuffix + devel:libz$secondaryArchSuffix >= 1.2.8 + " +BUILD_PREREQUIRES=" + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:make + cmd:pkg_config$secondaryArchSuffix + " + +defineDebugInfoPackage links$secondaryArchSuffix \ + "$commandBinDir"/links + +BUILD() +{ + runConfigure --omit-dirs binDir ./configure \ + --bindir="$commandBinDir" \ + --without-x \ + --with-haiku \ + --with-ssl \ + --enable-graphics + make $jobArgs +} + +INSTALL() +{ + make install + addAppDeskbarSymlink $commandBinDir/links Links +}