mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-02 13:08:53 +02:00
Links: bump x86_64 version (#5063)
* links: bump x86_64, untested of R1B2 x86.
This commit is contained in:
88
www-client/links/links-2.20.2.recipe
Normal file
88
www-client/links/links-2.20.2.recipe
Normal file
@@ -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
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user