Added pngcrush, htmltidy, and xz-utils.

This commit is contained in:
Chris Roberts
2009-12-29 08:37:08 +00:00
parent 7ac01371f6
commit 61c14749ea
8 changed files with 157 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
diff -ur pngcrush-1.7.6-nolib/Makefile pngcrush-1.7.6-nolib-haiku/Makefile
--- pngcrush-1.7.6-nolib/Makefile 2006-03-30 18:39:16.000000000 -0700
+++ pngcrush-1.7.6-nolib-haiku/Makefile 2009-12-29 01:02:29.000000000 -0700
@@ -36,7 +36,11 @@
PNGCRUSH = pngcrush
# LIBS = -lm
+ifeq ($(shell uname), Haiku)
+LIBS = -L/boot/system/lib -lpng -lz
+else
LIBS = -L$(PNGLIB) -lpng -lz -lm
+endif
# LIBS = -lpng -lz -lm
#LIBS = ${ZLIB}/libz.a -lm

View File

@@ -0,0 +1,16 @@
DESCRIPTION="Pngcrush is an optimizer for PNG (Portable Network Graphics) files."
HOMEPAGE="http://pmt.sourceforge.net/pngcrush/"
SRC_URI="http://sourceforge.net/projects/pmt/files/pngcrush/00-1.7.6/pngcrush-1.7.6-nolib.tar.bz2/download"
CHECKSUM_MD5="79fdedccf761f6391c11aa851c9fc6b2"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD {
cd pngcrush-1.7.6-nolib
make
}
INSTALL {
cd pngcrush-1.7.6-nolib
cp -a -f pngcrush /boot/common/bin
}

View File

@@ -0,0 +1,6 @@
Package: pngcrush
Version: 1.7.6
Copyright: 1998-2009, Glenn Randers-Pehrson
Copyright: 2005, Greg Roelofs
License: PNG
URL: http://pmt.sourceforge.net/pngcrush/