mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-15 00:00:07 +02:00
64 lines
1.5 KiB
Bash
64 lines
1.5 KiB
Bash
SUMMARY="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/"
|
|
COPYRIGHT="2007-2017 J-M Bell"
|
|
LICENSE="MIT"
|
|
REVISION="1"
|
|
SOURCE_URI="http://download.netsurf-browser.org/libs/releases/libdom-$portVersion-src.tar.gz"
|
|
CHECKSUM_SHA256="f16c76ffa71593b5cbb434e2496788480145ae675b48032f0de19acab1e867fd"
|
|
|
|
ARCHITECTURES="?x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
libdom$secondaryArchSuffix = $portVersion
|
|
lib:libdom$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libdom${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libdom$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES_devel="
|
|
libdom$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libexpat$secondaryArchSuffix
|
|
devel:libhubbub$secondaryArchSuffix
|
|
devel:libparserutils$secondaryArchSuffix
|
|
devel:libwapcaplet$secondaryArchSuffix
|
|
netsurf_buildsystem >= 1.6
|
|
xml_parser
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:perl
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
|
|
INCLUDEDIR=$relativeIncludeDir LIBDIR=$relativeLibDir install
|
|
|
|
prepareInstalledDevelLib libdom
|
|
fixPkgconfig
|
|
packageEntries devel $developDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem test
|
|
}
|