Files
haikuports/app-text/htmltidy/htmltidy-20092812.recipe
2014-03-30 13:23:01 +02:00

60 lines
1.1 KiB
Plaintext

SUMMARY="Tidy the layout and correct errors in HTML and XML documents."
DESCRIPTION="htmltidy - Tidy the layout and correct errors in HTML and XML documents."
HOMEPAGE="http://tidy.sourceforge.net/"
SRC_URI="cvs://:pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy/tidy#12/28/2009"
REVISION="1"
LICENSE="MIT"
COPYRIGHT="1998-2008 World Wide Web Consortium"
ARCHITECTURES="x86_gcc2"
PROVIDES="
htmltydy = $portVersion
cmd:tab2space
cmd:tidy
lib:libtidy_0.99
lib:libtidy
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchsuffix
cmd:as$secondaryArchSuffix
cmd:make
cmd:libtoolize
cmd:autoconf
"
PATCHES="$portName-$portVersion.patchset"
BUILD()
{
/bin/sh build/gnuauto/setup.sh
runConfigure ./configure
make
}
INSTALL()
{
make install
prepareInstalledDevelLibs libtidy
packageEntries devel $developDir
}
TEST()
{
cd test
sh testall.sh
}
PROVIDES_devel="
devel:libtidy
"
REQUIRES_devel="
htmltidy == $portVersion base
"