Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=f1d654492b7faac53e176cf91556b0d73c8aaf25

commit f1d654492b7faac53e176cf91556b0d73c8aaf25
Author: crazy <[EMAIL PROTECTED]>
Date:   Thu Dec 4 21:49:33 2008 +0100

pbzip2-1.0.3-1-x86_64
* Version bump

diff --git a/source/apps-extra/pbzip2/FrugalBuild 
b/source/apps-extra/pbzip2/FrugalBuild
index 32e17ac..7a49bc6 100644
--- a/source/apps-extra/pbzip2/FrugalBuild
+++ b/source/apps-extra/pbzip2/FrugalBuild
@@ -2,7 +2,7 @@
# Maintainer: Christian Hamar alias krix <[EMAIL PROTECTED]>

pkgname=pbzip2
-pkgver=1.0.2
+pkgver=1.0.3
pkgrel=1
pkgdesc="PBZIP2 is a parallel implementation of the bzip2 block-sorting file 
compressor that uses pthreads and achieves near-linear speedup on SMP machines."
url="http://compression.ca/pbzip2/";
@@ -10,16 +10,16 @@ depends=('bzip2')
groups=('apps-extra')
archs=('i686' 'x86_64')
up2date="lynx -dump http://compression.ca/pbzip2/ | grep -m1 'Source Code: ' | 
sed 's/.*BZIP2 v//' | sed 's/ .*//'"
-source=($url/$pkgname-$pkgver.tar.gz makefile-fixes.patch)
+source=($url/$pkgname-$pkgver.tar.gz)

build() {
+
Fcd
-       Fpatchall
+       Fsed '-O2' "$CXXFLAGS" Makefile
make || Fdie
-       make DESTDIR=${Fdestdir} install || Fdie
+       make PREFIX=${Fdestdir}/usr install || Fdie
}

-sha1sums=('8ae0ebcd08761332ade6baa4b1172a3f97f71169' \
-          'a8abf5cfba73e692f6f8836a5ca26ff140874ec6')
+sha1sums=('9220b12d94aa1221340d1bd499a2be6546f9fa98')

# optimization OK
diff --git a/source/apps-extra/pbzip2/makefile-fixes.patch 
b/source/apps-extra/pbzip2/makefile-fixes.patch
deleted file mode 100644
index 45d6bf2..0000000
--- a/source/apps-extra/pbzip2/makefile-fixes.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -Naur pbzip2-1.0.1.orig/Makefile pbzip2-1.0.1/Makefile
---- pbzip2-1.0.1.orig/Makefile 2007-04-07 18:08:27.000000000 +0200
-+++ pbzip2-1.0.1/Makefile      2007-04-07 18:09:30.000000000 +0200
-@@ -5,17 +5,17 @@
- CC=g++
-
- # Where you want pbzip2 installed when you do 'make install'
--PREFIX=/usr
-+PREFIX=$(DESTDIR)/usr
-
- all: pbzip2
-
- # Standard pbzip2 compile
- pbzip2: pbzip2.cpp
--      $(CC) -O3 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o pbzip2 
pbzip2.cpp -pthread -lpthread -lbz2
-+      $(CC) $(CFLAGS) -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o pbzip2 
pbzip2.cpp -pthread -lpthread -lbz2
-
- # Choose this if you want to compile in a static version of the libbz2 library
- pbzip2-static: libbz2.a pbzip2.cpp
--      $(CC) -O3 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o pbzip2 
pbzip2.cpp -pthread -lpthread -I. -L. -lbz2
-+      $(CC) $(CFLAGS) -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o pbzip2 
pbzip2.cpp -pthread -lpthread -I. -L. -lbz2
-
- # Choose this if you want to compile pbzip2 without load average support for
- # systems that do not support it
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to