summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVlad Glagolev2011-10-15 19:53:29 +0400
committerVlad Glagolev2011-10-15 19:53:29 +0400
commit8b66f25ae567e8ef79d9eb9eaf211df8eeaa4557 (patch)
tree3f8ddff19325eb8d60986a3da2539c250e5aa815
parent23ee14a2225e9c18a8951a41613a96d063613701 (diff)
pngcrush: => 1.7.20
-rwxr-xr-xgraphics/pngcrush/BUILD2
-rwxr-xr-xgraphics/pngcrush/DETAILS5
-rw-r--r--graphics/pngcrush/HISTORY5
-rwxr-xr-xgraphics/pngcrush/PRE_BUILD5
-rw-r--r--graphics/pngcrush/make.patch12
5 files changed, 9 insertions, 20 deletions
diff --git a/graphics/pngcrush/BUILD b/graphics/pngcrush/BUILD
index 8f58e6df93..b9605d5233 100755
--- a/graphics/pngcrush/BUILD
+++ b/graphics/pngcrush/BUILD
@@ -1 +1 @@
-make
+make CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
diff --git a/graphics/pngcrush/DETAILS b/graphics/pngcrush/DETAILS
index 3527c86d89..b877893770 100755
--- a/graphics/pngcrush/DETAILS
+++ b/graphics/pngcrush/DETAILS
@@ -1,12 +1,13 @@
SPELL=pngcrush
- VERSION=1.7.11
+ VERSION=1.7.20
SOURCE=$SPELL-$VERSION.tar.bz2
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
SOURCE_URL[0]=$SOURCEFORGE_URL/pmt/$SOURCE
WEB_SITE=http://pmt.sourceforge.net/pngcrush/index.html
ENTERED=20030613
- SOURCE_HASH=sha512:1112be78eaa9d4f442a8502587f1aa15baf6b33f79b2838a4b3a0b5e66fca092dd7dd085fab27b3c5ce2f4307130a807b458de509b14b0c4c04386e7ad4014c5
+ SOURCE_HASH=sha512:356682374f567e7fa90f915c4292be0eb9a6150cdf87a949b0f1eb4fc661d107fa34521bebc5fab4099cf3c9e562c25189ffe68a730651de545fd7a37a502450
LICENSE[0]=ZLIB
+ DOCS="ChangeLog.html"
KEYWORDS="graphics"
SHORT="optimizer for PNG (Portable Network Graphics) files"
cat << EOF
diff --git a/graphics/pngcrush/HISTORY b/graphics/pngcrush/HISTORY
index da1fd6d0b2..192b6adeb4 100644
--- a/graphics/pngcrush/HISTORY
+++ b/graphics/pngcrush/HISTORY
@@ -1,3 +1,8 @@
+2011-10-15 Vlad Glagolev <stealth@sourcemage.org>
+ * DETAILS: updated spell to 1.7.20
+ * BUILD: better use of the flags
+ * PRE_BUILD, make.patch: removed
+
2010-07-16 Vlad Glagolev <stealth@sourcemage.org>
* DETAILS: updated spell to 1.7.11
diff --git a/graphics/pngcrush/PRE_BUILD b/graphics/pngcrush/PRE_BUILD
deleted file mode 100755
index ce80767cea..0000000000
--- a/graphics/pngcrush/PRE_BUILD
+++ /dev/null
@@ -1,5 +0,0 @@
-default_pre_build &&
-cd "$SOURCE_DIRECTORY" &&
-
-patch -p0 < "$SPELL_DIRECTORY/make.patch"
-
diff --git a/graphics/pngcrush/make.patch b/graphics/pngcrush/make.patch
deleted file mode 100644
index 054bbbd69b..0000000000
--- a/graphics/pngcrush/make.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- Makefile.orig 2009-12-21 05:46:31.000000000 +0300
-+++ Makefile 2010-01-06 17:26:14.924157579 +0300
-@@ -23,7 +23,7 @@
- #CFLAGS = -I. -O2 -fomit-frame-pointer -Wall
- #CFLAGS = -I. -O3 -fomit-frame-pointer -Wall
- #CFLAGS = -I. -Os -fomit-frame-pointer -Wall
--CFLAGS = -I. -O3 -funroll-loops -fomit-frame-pointer -Wall -Wshadow
-+#CFLAGS = -I. -O3 -funroll-loops -fomit-frame-pointer -Wall -Wshadow
- #CFLAGS = -I${ZINC} -I. -O3 -fomit-frame-pointer -Wall
- # [note that -Wall is a gcc-specific compilation flag ("all warnings on")]
- LDFLAGS =
-