Files
haikuports/www-client/netsurf/netsurf-3.1.recipe
Jerome Duval 36e2c0ed6d netsurf: build on x86 and x86_64
* fix dependencies and build system
* check doesn't build correctly with haikuporter on x86_64 beause
of a Python bug (hard link extraction in tar files)
2014-08-30 19:57:59 +00:00

78 lines
1.7 KiB
Plaintext
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="NetSurf is 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-2014 The NetSurf Browser project"
LICENSE="GNU GPL v2"
SRC_URI="http://download.netsurf-browser.org/netsurf/releases/source/netsurf-$portVersion-src.tar.gz"
CHECKSUM_SHA256="1ef12b2e2bc68f9eff8465646b7359e3cb483e1042aed750cc283a70dd4c540c"
REVISION="2"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PATCHES="netsurf-$portVersion.patchset"
PROVIDES="
netsurf = $portVersion
app:NetSurf = $portVersion
"
REQUIRES="
haiku >= $haikuVersion
lib:libcurl
lib:libexpat
lib:libiconv
lib:libpng
lib:libjpeg
lib:libssl
lib:libz
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
devel:libcurl
devel:libexpat
devel:libiconv
devel:libjpeg
devel:libpng
devel:libssl
devel:libz
devel:libcss
devel:libdom
devel:libhubbub
devel:libnsbmp
devel:libnsgif
devel:libparserutils
devel:libsvgtiny
devel:libwapcaplet
"
BUILD_PREREQUIRES="
html_parser >= 3.70
cmd:bison
cmd:flex
cmd:gcc
cmd:git
cmd:gperf
cmd:make
cmd:pkg_config
"
BUILD()
{
make PREFIX=$prefix/ DESTDIR=$appsDir/ \
NETSURF_BEOS_BIN=netsurf/ NETSURF_BEOS_RESOURCES=netsurf/res/
}
INSTALL()
{
make PREFIX=$prefix/ DESTDIR=$appsDir/ \
NETSURF_BEOS_BIN=netsurf/ NETSURF_BEOS_RESOURCES=netsurf/res/ install
addAppDeskbarSymlink $appsDir/netsurf/NetSurf NetSurf
}