links: add recipe for version 2.14.

This commit is contained in:
Jerome Duval
2017-07-15 14:50:37 +02:00
parent 985a35d9cb
commit a1515170a1
2 changed files with 1555 additions and 0 deletions

View File

@@ -0,0 +1,76 @@
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-2013 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.gz"
CHECKSUM_SHA256="22fa8dcb5a60b8ffd611de31ebd4c79edce472637a3554bab401795da91d4387"
PATCHES="links-$portVersion.patchset"
ARCHITECTURES="?x86_gcc2 ?x86 x86_64"
PROVIDES="
links = $portVersion
cmd:links = $portVersion
"
REQUIRES="
haiku
lib:libcrypto
lib:libgomp
lib:libjpeg
lib:libpng16
lib:libssl
# lib:libtiff
lib:libz
"
BUILD_REQUIRES="
haiku_devel
devel:libcrypto
# devel:libGL
devel:libglu
devel:libpng16
devel:libjpeg
devel:libssl
# devel:libtiff
devel:libz >= 1.2.8
"
BUILD_PREREQUIRES="
cmd:autoconf
cmd:libtool
cmd:aclocal
cmd:make
cmd:gcc
cmd:ld
cmd:pkg_config
"
BUILD()
{
STDCPPLIBS=-lstdc++
if [ "$effectiveTargetArchitecture" = x86_gcc2 ]; then
STDCPPLIBS=-lstdc++.r4
fi
aclocal
automake --add-missing
autoheader
automake
autoconf
runConfigure ./configure \
--without-x \
--enable-graphics
make STDCPPLIBS=$STDCPPLIBS
}
INSTALL()
{
make install
addAppDeskbarSymlink $binDir/links Links
}
TEST()
{
make check
}

File diff suppressed because it is too large Load Diff