Files
haikuports/net-libs/libdom/libdom-0.1.1.recipe
Humdinger 3ea69a805d De-lint recipes.
*	gnash
	Don't start SUMMARY with app name
	Re-ordered blocks

*	gophernicus
	Don't start SUMMARY with app name
	Re-ordered blocks

*	harfbuzz
	Don't start SUMMARY with app name
	Re-ordered blocks

*	inconsolata
	Don't start SUMMARY with app name
	Re-ordered blocks

*	indent
	Don't start SUMMARY with app name
	Re-ordered blocks
	Fixed (SECONDARY_)ARCHITECTURES and PROVIDES

*	inputproto
	Don't start SUMMARY with app name
	Improved SUMMARY and DESCRIPTION
	Re-ordered blocks

*	jamvm
	Don't start SUMMARY with app name
	Removed "DEPEND"
	Re-ordered blocks

*	jpeg
	Don't start SUMMARY with app name
	Re-ordered blocks

*	jgmod
	Don't start SUMMARY with app name
	Re-ordered blocks

*	kbproto
	Don't start SUMMARY with app name
	Re-ordered blocks

*	kdiff3
	Don't start SUMMARY with app name
	Re-ordered blocks

*	libdom
	Don't start SUMMARY with app name
	Re-ordered blocks
	Removed $secondaryArchSuffix as there are no 2nd archs declared

*	libdvdcss
	Don't start SUMMARY with app name
	Re-ordered blocks

*	libdwarf
	Don't start SUMMARY with app name
	Re-ordered blocks

*	libevent
	Minor cosmetics
	Re-ordered blocks
2015-08-07 16:40:23 +02:00

64 lines
1.2 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-2014 J-M Bell"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="http://download.netsurf-browser.org/libs/releases/libdom-$portVersion-src.tar.gz"
CHECKSUM_SHA256="e86c11e313cdfbbe9674ad14125093240e23a2fa9e6f05b996d6b655e40c2dd4"
PATCHES="libdom-$portVersion.patchset"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
libdom = $portVersion
lib:libdom = $portVersion
"
REQUIRES="
haiku
"
PROVIDES_devel="
libdom_devel = $portVersion
devel:libdom = $portVersion
"
REQUIRES_devel="
libdom == $portVersion base
"
BUILD_REQUIRES="
haiku_devel
devel:libexpat
devel:libhubbub
devel:libparserutils
devel:libwapcaplet
netsurf_buildsystem
xml_parser
"
BUILD_PREREQUIRES="
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
}