# Template file for 'tidy'
pkgname=tidy
version=1.46
revision=4
wrksrc=tidyhtml-${version}
build_wrksrc=${pkgname}
hostmakedepends="libtool automake"
build_style=gnu-configure
short_desc="A tool to tidy down your HTML code to a clean style"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="custom"
homepage="http://tidy.sourceforge.net/"
distfiles="http://mirror.pkern.at/archlinux/other/packages/tidyhtml/tidyhtml-${version}.tar.bz2"
checksum=0555085b98238b7c36c5536a5c71b949fef3b58250b12cc51e5713a662aba7fe

pre_configure() {
	sh build/gnuauto/setup.sh
}

tidy-devel_package() {
	depends="tidy>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/*.a
		vmove usr/lib/*.so
	}
}
