mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
links: add recipe for version 2.14.
This commit is contained in:
76
www-client/links/links-2.14.recipe
Normal file
76
www-client/links/links-2.14.recipe
Normal 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
|
||||
}
|
||||
1479
www-client/links/patches/links-2.14.patchset
Normal file
1479
www-client/links/patches/links-2.14.patchset
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user