nsgenbind-0.7.recipe revision 29a666bb
1SUMMARY="NetSurf generator for javascript bindings"
2DESCRIPTION="This is a tool to generate JavaScript to DOM bindings from w3c \
3webidl files and a binding configuration file."
4HOMEPAGE="https://git.netsurf-browser.org/nsgenbind.git/"
5COPYRIGHT="2012-2019 Vincent Sanders"
6LICENSE="MIT"
7REVISION="1"
8SOURCE_URI="https://download.netsurf-browser.org/libs/releases/nsgenbind-$portVersion-src.tar.gz"
9CHECKSUM_SHA256="18632ea90fc98984771b4996a2f4fc06bd5f1bab33bf0379e4523b45fcacf466"
10
11ARCHITECTURES="!x86_gcc2 x86 x86_64"
12SECONDARY_ARCHITECTURES="x86"
13
14PROVIDES="
15	nsgenbind$secondaryArchSuffix = $portVersion
16	cmd:nsgenbind = $portVersion
17	"
18REQUIRES="
19	haiku$secondaryArchSuffix
20	"
21
22BUILD_REQUIRES="
23	haiku${secondaryArchSuffix}_devel
24	netsurf_buildsystem >= 1.8
25	"
26BUILD_PREREQUIRES="
27	cmd:bison
28	cmd:flex
29	cmd:gcc$secondaryArchSuffix
30	cmd:make
31	"
32
33BUILD()
34{
35	make PREFIX="$prefix" NSSHARED=/system/data/netsurf-buildsystem
36}
37
38INSTALL()
39{
40	make install PREFIX="$prefix" NSSHARED=/system/data/netsurf-buildsystem
41}
42
43TEST()
44{
45	make PREFIX="$prefix" NSSHARED=/system/data/netsurf-buildsystem test
46}
47