Files
haikuports/www-client/netsurf/netsurf-3.4.recipe
2016-02-19 22:17:24 +01:00

85 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-2016 The NetSurf Browser project"
LICENSE="GNU GPL v2"
REVISION="1"
# 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="1648f437994fc18090237430f30d645ff06bab0768ae973575f9391d07613bf6"
ARCHITECTURES="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:libpng$secondaryArchSuffix
lib:libjpeg$secondaryArchSuffix
lib:libssl$secondaryArchSuffix
lib:libutf8proc$secondaryArchSuffix
lib:libz$secondaryArchSuffix
lib:libhubbub$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/ BUILD=release \
NETSURF_BEOS_BIN=netsurf/ NETSURF_BEOS_RESOURCES=netsurf/res/
}
INSTALL()
{
make TARGET=beos PREFIX=$prefix/ DESTDIR=$appsDir/ \
NETSURF_BEOS_BIN=netsurf/ NETSURF_BEOS_RESOURCES=netsurf/res/ install
addAppDeskbarSymlink $appsDir/NetSurf NetSurf
}