diff options
author | Danny Rawlins <romster@shortcircuit.net.au> | 2006-11-21 22:03:23 +1100 |
---|---|---|
committer | Danny Rawlins <romster@shortcircuit.net.au> | 2006-11-21 22:03:23 +1100 |
commit | dca6ea985b41392725664f0c3a76e23f1bf69682 (patch) | |
tree | 188051bf01a1897aa4df8238130681c8726240d8 /tidy | |
parent | 586de4fed3f2365589c3a460ab8c7d8f2a1645c7 (diff) | |
download | contrib-dca6ea985b41392725664f0c3a76e23f1bf69682.tar.gz contrib-dca6ea985b41392725664f0c3a76e23f1bf69682.tar.xz |
initial adding of ports from romsters repo
Diffstat (limited to 'tidy')
-rw-r--r-- | tidy/Pkgfile~ | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tidy/Pkgfile~ b/tidy/Pkgfile~ new file mode 100644 index 000000000..eed7f4b6b --- /dev/null +++ b/tidy/Pkgfile~ @@ -0,0 +1,30 @@ +# 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.nl> +# Depends on: cvs + +name=tidy +version=cvs +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 install DESTDIR=$PKG + chown -R root:root $PKG +} + |