mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-30 20:18:52 +02:00
Added pngcrush, htmltidy, and xz-utils.
This commit is contained in:
15
media-gfx/pngcrush/patches/pngcrush-1.7.6.patch
Normal file
15
media-gfx/pngcrush/patches/pngcrush-1.7.6.patch
Normal 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
|
||||
|
||||
16
media-gfx/pngcrush/pngcrush-1.7.6.bep
Normal file
16
media-gfx/pngcrush/pngcrush-1.7.6.bep
Normal 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
|
||||
}
|
||||
6
media-gfx/pngcrush/pngcrush.OptionalPackageDescription
Normal file
6
media-gfx/pngcrush/pngcrush.OptionalPackageDescription
Normal 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/
|
||||
Reference in New Issue
Block a user