Files
haikuports/www-client/links/links-2.8.recipe
Jerome Duval fc0936b040 Bump revisions for x86_64 rebuild after time_t change.
* a few apps needed build fix for time_t.
* disable compatibility packages for x86_64.
2017-06-27 15:46:25 +02:00

76 lines
1.3 KiB
Bash

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="4"
SOURCE_URI="http://links.twibright.com/download/links-$portVersion.tar.gz"
CHECKSUM_SHA256="5070a759af7f107ca4f9572833b8f086cd9f7c21ef5e1fce8482a2883a743c7a"
PATCHES="links-$portVersion.patch"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
links = $portVersion
cmd:links = $portVersion
"
REQUIRES="
haiku
lib:libcrypto
lib:libpng16
lib:libjpeg
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
}