mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
87 lines
2.6 KiB
Bash
87 lines
2.6 KiB
Bash
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="2"
|
||
# 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="59ae4b50eff9e2a00a0a9742ef546c7de17223139c485af9644f195340979a9c"
|
||
|
||
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:libnsbmp$secondaryArchSuffix
|
||
lib:libnsgif$secondaryArchSuffix
|
||
lib:libpng16$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
|
||
}
|