Add recipe for nsgenbind.

Required by NetSurf.
This commit is contained in:
Adrien Destugues
2016-01-30 13:10:11 +01:00
parent dcc2d2cc47
commit 69030090c1

View File

@@ -0,0 +1,41 @@
SUMMARY="NetSurf generator for javascript bindings"
DESCRIPTION="This is a tool to generate JavaScript to DOM bindings from w3c \
webidl files and a binding configuration file."
HOMEPAGE="http://git.netsurf-browser.org/nsgenbind.git/"
COPYRIGHT="2012 Vincent Sanders"
LICENSE="MIT"
SOURCE_URI="http://download.netsurf-browser.org/libs/releases/nsgenbind-0.1.2-src.tar.gz"
CHECKSUM_SHA256="94a87e9a223791693724e929cc7b13e334d4baaf73f7d0a91fdf938c9a260a9a"
REVISION="1"
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
nsgenbind$secondaryArchSuffix = $portVersion
cmd:nsgenbind
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
netsurf_buildsystem
"
BUILD_PREREQUIRES="
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:bison
cmd:flex
"
BUILD()
{
make $jobArgs PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem
}
INSTALL()
{
make install PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem
}