mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-02 21:18:51 +02:00
Add recipes for Netsurf 3.3.
This commit is contained in:
78
net-libs/hubbub/hubbub-0.3.1.recipe
Normal file
78
net-libs/hubbub/hubbub-0.3.1.recipe
Normal file
@@ -0,0 +1,78 @@
|
||||
SUMMARY="An HTML5 compliant parsing library"
|
||||
DESCRIPTION="
|
||||
Hubbub is an HTML5 compliant parsing library, written in C. It was developed \
|
||||
as part of the NetSurf project and is available for use by other software \
|
||||
under the MIT licence.
|
||||
The HTML5 specification defines a parsing algorithm, based on the behaviour \
|
||||
of mainstream browsers, which provides instructions for how to parse all \
|
||||
markup, both valid and invalid. As a result, Hubbub parses web content well.
|
||||
If you are looking for an HTML5 parser in Python or Ruby, you may wish to \
|
||||
look at html5lib.
|
||||
"
|
||||
HOMEPAGE="http://www.netsurf-browser.org/projects/hubbub/"
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2007-2014 J-M Bell"
|
||||
SRC_URI="http://download.netsurf-browser.org/libs/releases/libhubbub-$portVersion-src.tar.gz"
|
||||
CHECKSUM_SHA256="1f8b31e86d0d32735f247c071a7ade1a475606b7a3583d2132e567a310b62053"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
|
||||
PROVIDES="
|
||||
hubbub = $portVersion
|
||||
lib:libhubbub = $portVersion compat >= 0
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
devel:libparserutils
|
||||
devel:libjson_c
|
||||
devel:libiconv
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel
|
||||
netsurf_buildsystem >= 0.3.0
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
cmd:perl
|
||||
cmd:pkg_config
|
||||
"
|
||||
|
||||
PATCHES="libhubbub-0.3.0.patchset"
|
||||
|
||||
SOURCE_DIR="libhubbub-$portVersion"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem
|
||||
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
|
||||
COMPONENT_TYPE=lib-shared
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
|
||||
INCLUDEDIR=$relativeIncludeDir
|
||||
make install PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
|
||||
INCLUDEDIR=$relativeIncludeDir COMPONENT_TYPE=lib-shared
|
||||
|
||||
prepareInstalledDevelLib libhubbub
|
||||
fixPkgconfig
|
||||
packageEntries devel $developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
|
||||
LDFLAGS="-liconv -lparserutils" test
|
||||
}
|
||||
|
||||
# ----- devel package -------------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
hubbub_devel = $portVersion
|
||||
devel:libhubbub = $portVersion compat >= 0
|
||||
"
|
||||
REQUIRES_devel="
|
||||
hubbub$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
67
net-libs/libdom/libdom-0.1.2.recipe
Normal file
67
net-libs/libdom/libdom-0.1.2.recipe
Normal file
@@ -0,0 +1,67 @@
|
||||
SUMMARY="LibDOM is an implementation of the W3C DOM"
|
||||
DESCRIPTION="An implementation of the W3C DOM for NetSurf, written in C."
|
||||
HOMEPAGE="http://www.netsurf-browser.org/projects/libdom/"
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2007-2014 J-M Bell"
|
||||
SRC_URI="http://download.netsurf-browser.org/libs/releases/libdom-$portVersion-src.tar.gz"
|
||||
CHECKSUM_SHA256="9cd3cf4487735c3cc5d63c5fdee05384eee65318476105646767b34d6e07e9e8"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
|
||||
PATCHES="libdom-0.1.1.patchset"
|
||||
|
||||
PROVIDES="
|
||||
libdom = $portVersion
|
||||
lib:libdom = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
devel:libexpat
|
||||
devel:libhubbub
|
||||
devel:libparserutils
|
||||
devel:libwapcaplet
|
||||
netsurf_buildsystem
|
||||
xml_parser
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
cmd:perl
|
||||
cmd:pkg_config
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
|
||||
INCLUDEDIR=$relativeIncludeDir install
|
||||
|
||||
prepareInstalledDevelLib libdom
|
||||
fixPkgconfig
|
||||
packageEntries devel $developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem test
|
||||
}
|
||||
|
||||
# ----- devel package -------------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
libdom_devel = $portVersion
|
||||
devel:libdom = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libdom$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
Reference in New Issue
Block a user