# URL: 			http://tidy.sourceforge.net/ 
# Packager:		berlius at nutyx dot com

description="Tools and libraries used to read HTML, XHTML and XML files and write cleaned up markup"
name=tidy
version=20101110
release=1
source=(http://anduin.linuxfromscratch.org/BLFS/$name/$name-cvs\_$version.tar.bz2)

build() {

	cd $name-cvs\_$version

	./configure \
		--prefix=/usr \
		--disable-static

	make
	make DESTDIR=$PKG install
	
	install -v -m644 -D htmldoc/tidy.1 \
                    $PKG/usr/share/man/man1/tidy.1 
	install -v -m755 -d $PKG/usr/share/doc/tidy-cvs_20101110 
	install -v -m644    htmldoc/*.{html,gif,css} \
                    $PKG/usr/share/doc/tidy-cvs_20101110

}
