summaryrefslogtreecommitdiff
path: root/tidy/Pkgfile
blob: a1bad2d35302ed4f9f825be7b7091eec0824dd6d (plain)
    1 # Description: HTML/XML/XHTML cleanup tool.
    2 # URL: http://tidy.sourceforge.net/ 
    3 # Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
    4 # Packager: Han Boetes, han mijncomputer dot nl
    5 # Depends on: cvs
    6 
    7 name=tidy
    8 version=cvs-$(date '+%Y%m%d')
    9 release=1
   10 source=()
   11 
   12 build() {
   13 	cd $PKGMK_SOURCE_DIR
   14 
   15 	if cd tidy; then
   16         	cvs -z3 -q up -dAP
   17     	else
   18 		cvs -d:pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy co tidy
   19     	fi
   20 	
   21 	cp -r $PKGMK_SOURCE_DIR/tidy $SRC
   22 	
   23 	cd $SRC/tidy
   24 	sed -i 's|typedef unsigned long ulong;||' include/platform.h
   25 	/bin/sh build/gnuauto/setup.sh
   26 	./configure --prefix=/usr
   27 	make
   28 	make DESTDIR=$PKG install
   29 }

Generated by cgit