mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
89 lines
1.5 KiB
Bash
89 lines
1.5 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="1"
|
|
SOURCE_URI="http://links.twibright.com/download/links-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="677f594b58dc532e63913cd61b85cc1aa6f0385e333b88766eb3415b41b3a375"
|
|
PATCHES="links-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="?x86_gcc2 ?x86 x86_64"
|
|
|
|
PROVIDES="
|
|
links = $portVersion
|
|
cmd:links = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
lib:libbrotlicommon
|
|
lib:libbz2
|
|
lib:libcrypto
|
|
lib:libgomp
|
|
lib:libjpeg
|
|
lib:liblzma
|
|
lib:libpng16
|
|
lib:libssl
|
|
lib:libtiff
|
|
lib:libz
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
devel:libbrotlicommon
|
|
devel:libbz2
|
|
devel:libcrypto
|
|
# devel:libGL
|
|
devel:libglu
|
|
devel:libpng16
|
|
devel:libjpeg
|
|
devel:liblzma
|
|
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
|
|
"
|
|
|
|
defineDebugInfoPackage links \
|
|
"$binDir"/links
|
|
|
|
BUILD()
|
|
{
|
|
STDCPPLIBS=-lstdc++
|
|
if [ "$effectiveTargetArchitecture" = x86_gcc2 ]; then
|
|
STDCPPLIBS=-lstdc++.r4
|
|
fi
|
|
|
|
export CPPFLAGS="-fpermissive"
|
|
|
|
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
|
|
}
|