# Description: HTML/XML/XHTML cleanup tool. # URL: http://tidy.sourceforge.net/ # Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au # Packager: Han Boetes, han mijncomputer dot nl # Depends on: cvs name=tidy version=cvs-$(date '+%Y%m%d') release=1 source=() build() { cd $PKGMK_SOURCE_DIR if cd tidy; then cvs -z3 -q up -dAP else cvs -d:pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy co tidy fi cp -r $PKGMK_SOURCE_DIR/tidy $SRC cd $SRC/tidy sed -i 's|typedef unsigned long ulong;||' include/platform.h /bin/sh build/gnuauto/setup.sh ./configure --prefix=/usr make make DESTDIR=$PKG install }