Files
haikuports/www-client/netsurf/netsurf-3.7.recipe
2018-01-10 10:31:35 +03:00

88 lines
2.6 KiB
Bash
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
SUMMARY="A multi-platform web browser"
DESCRIPTION="Small as a mouse, fast as a cheetah and available for free. NetSurf is a \
multi-platform web browser for RISC OS, UNIX-like platforms (including Linux), \
Mac OS X, and more.\
\
Whether you want to check your webmail, read the news or post to discussion \
forums, NetSurf is your lightweight gateway to the world wide web. Actively \
developed, NetSurf is continually evolving and improving."
HOMEPAGE="http://www.netsurf-browser.org/"
COPYRIGHT="2003-2017 The NetSurf Browser project"
LICENSE="GNU GPL v2"
REVISION="4"
# Do NOT use the netsurf-all package. It contains a bunch of subprojects which
# we build as separate packages so they can easily be used by other projects.
SOURCE_URI="http://download.netsurf-browser.org/netsurf/releases/source/netsurf-$portVersion-src.tar.gz"
CHECKSUM_SHA256="efc20a86a23ba1a966dc870f02b317d3f602e1bbb2e1b507608e34febfb37e16"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
netsurf$secondaryArchSuffix = $portVersion
app:NetSurf = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libcurl$secondaryArchSuffix
lib:libexpat$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
lib:libnsbmp$secondaryArchSuffix
lib:libnsgif$secondaryArchSuffix
lib:libpng16$secondaryArchSuffix
lib:libjpeg$secondaryArchSuffix
lib:libssl$secondaryArchSuffix
lib:libutf8proc$secondaryArchSuffix
lib:libz$secondaryArchSuffix
lib:libhubbub$secondaryArchSuffix
lib:libwapcaplet$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libcurl$secondaryArchSuffix
devel:libcheck$secondaryArchSuffix
devel:libexpat$secondaryArchSuffix
devel:libiconv$secondaryArchSuffix
devel:libjpeg$secondaryArchSuffix
devel:libpng$secondaryArchSuffix
devel:libssl$secondaryArchSuffix
devel:libz$secondaryArchSuffix
devel:libcss$secondaryArchSuffix
devel:libdom$secondaryArchSuffix
devel:libhubbub$secondaryArchSuffix
devel:libnsbmp$secondaryArchSuffix
devel:libnsgif$secondaryArchSuffix
devel:libnsutils$secondaryArchSuffix
devel:libparserutils$secondaryArchSuffix
devel:libsvgtiny$secondaryArchSuffix
devel:libutf8proc$secondaryArchSuffix
devel:libwapcaplet$secondaryArchSuffix
"
BUILD_PREREQUIRES="
html_parser >= 3.70
cmd:bison
cmd:flex
cmd:gcc$secondaryArchSuffix
cmd:git
cmd:gperf
cmd:make
cmd:pkg_config$secondaryArchSuffix
cmd:nsgenbind
"
BUILD()
{
make TARGET=beos PREFIX=$prefix/ DESTDIR=$appsDir NETSURF_BEOS_BIN="/" \
BUILD=release $jobArgs
}
INSTALL()
{
make TARGET=beos PREFIX=$prefix/ DESTDIR=$appsDir NETSURF_BEOS_BIN="/" \
BUILD=release install
addAppDeskbarSymlink $appsDir/NetSurf
}