/
netsurf-3.6.recipe
86 lines (79 loc) · 2.63 KB
/
netsurf-3.6.recipe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
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
}