Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=ce905b7187b08ed77deb9523c6e856ed61574ae0
commit ce905b7187b08ed77deb9523c6e856ed61574ae0 Author: Christian Hamar alias krix <[EMAIL PROTECTED]> Date: Sun Nov 11 17:36:04 2007 +0100 pngnq-0.5-1-x86_64 * Version bump * Updated patch for new upstream diff --git a/source/apps-extra/pngnq/FrugalBuild b/source/apps-extra/pngnq/FrugalBuild index 015334f..31fcb2f 100644 --- a/source/apps-extra/pngnq/FrugalBuild +++ b/source/apps-extra/pngnq/FrugalBuild @@ -2,7 +2,7 @@ # Maintainer: Christian Hamar alias krix <[EMAIL PROTECTED]> pkgname=pngnq -pkgver=0.4.1 +pkgver=0.5 pkgrel=1 pkgdesc="A PNG compression utility" url="http://www.cybertherial.com/pngnq/pngnq.html" @@ -11,12 +11,12 @@ groups=('apps-extra') archs=('x86_64' 'i686') up2date="lynx -dump http://www.cybertherial.com/pngnq/pngnq.html|grep 'Current Version'|tr -s ' '|cut -d ' ' -f 5 | sed -e 's/pngnq-//g'" source=(http://www.cybertherial.com/pngnq/$pkgname-$pkgver-src.tar.gz pngnq-makefile-corrections.patch) -sha1sums=('bd34f8fffb67ef98c6ec328643ba9e8c827bb256' \ - '520caed1c569ced6c4828cc2f7b17b7928d28d73') +sha1sums=('1ce194a99d0d8abeeffb26e84e07cbb4035910f0' \ + '41cd5fbff2c3f075a27e2e447697615becf4bcf1') -build() -{ - Fcd $pkgname/$pkgver +build() { + # lol ? + Fcd $pkgver Fmkdir usr/bin Fbuild } diff --git a/source/apps-extra/pngnq/pngnq-makefile-corrections.patch b/source/apps-extra/pngnq/pngnq-makefile-corrections.patch index ee07f95..997f828 100644 --- a/source/apps-extra/pngnq/pngnq-makefile-corrections.patch +++ b/source/apps-extra/pngnq/pngnq-makefile-corrections.patch @@ -1,9 +1,9 @@ -diff -Naur pngnq-0.4.orig/Makefile pngnq-0.4/Makefile ---- pngnq-0.4.orig/Makefile 2006-06-14 21:37:53.659892960 +0200 -+++ pngnq-0.4/Makefile 2006-06-14 21:39:18.708963536 +0200 -@@ -2,13 +2,13 @@ +diff -Naur 0.5.orig/Makefile 0.5/Makefile +--- 0.5.orig/Makefile 2007-11-11 17:33:55.000000000 +0100 ++++ 0.5/Makefile 2007-11-11 17:35:04.000000000 +0100 +@@ -5,13 +5,13 @@ - CC=gcc + DISTFILES = LICENSE README pngnq.1 pngnq pngcomp -PNGINC = ../libpng +PNGINC = /usr/include @@ -14,15 +14,14 @@ diff -Naur pngnq-0.4.orig/Makefile pngnq-0.4/Makefile +ZINC = /usr/include +ZLIB = /usr/lib --CFLAGS = -O3 -g -Wall -pedantic -I. -I$(PNGINC) -I$(ZINC) -funroll-loops -fomit-frame-pointer -+CFLAGS += -Wall -pedantic -I. -I$(PNGINC) -I$(ZINC) -funroll-loops -fomit-frame-pointer +-CFLAGS = -O3 -g -Wall -pedantic -I. -I$(PNGINC) -I$(ZINC) -funroll-loops -fomit-frame-pointer -std=c99 ++CFLAGS += -Wall -pedantic -I. -I$(PNGINC) -I$(ZINC) -funroll-loops -fomit-frame-pointer -std=c99 LDFLAGS = -L$(PNGLIB) -lpng -L$(ZLIB) -lz -lm #LDFLAGS = $(PNGLIB)/libpng.a -L$(ZLIB) -lz -lm -@@ -26,3 +26,6 @@ +@@ -41,3 +41,5 @@ + bindist: all + tar -cz -f ../pngnq-$(VERSION)-$(ARCH).tar.gz $(DISTFILES) - clean: - rm -f pngnq pngcomp *.o -+ +install: + /usr/bin/install -c -g root -o root -m 755 pngnq $(DESTDIR)/usr/bin _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
