mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-02 13:08:53 +02:00
70 lines
1.6 KiB
Bash
70 lines
1.6 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 - 2011 Mikulas Patocka
|
|
2000 - 2011 Petr Kulhavy, Karel Kulhavy, Martin Pergel"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="2"
|
|
SOURCE_URI="http://links.twibright.com/download/links-2.8.tar.gz"
|
|
CHECKSUM_SHA256="5070a759af7f107ca4f9572833b8f086cd9f7c21ef5e1fce8482a2883a743c7a"
|
|
PATCHES="links-2.8.patch"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
links$secondaryArchSuffix = $portVersion
|
|
cmd:links$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libpng$secondaryArchSuffix
|
|
lib:libjpeg$secondaryArchSuffix
|
|
# lib:libtiff$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
openssl$secondaryArchSuffix >= 1.0.0
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
# devel:libGL$secondaryArchSuffix
|
|
devel:libglu$secondaryArchSuffix
|
|
devel:libpng$secondaryArchSuffix
|
|
devel:libjpeg$secondaryArchSuffix
|
|
# devel:libtiff$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix >= 1.2.8
|
|
openssl${secondaryArchSuffix}_devel >= 1.0.0
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:autoconf
|
|
cmd:libtool
|
|
cmd:aclocal
|
|
cmd:make
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
STDCPPLIBS=-lstdc++
|
|
if [ "$targetArchitecture" = 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
|
|
}
|