contrib/tidy/Pkgfile

31 lines
658 B
Plaintext
Raw Normal View History

2007-01-30 06:06:17 +01:00
# 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
}