[csw-devel] SF.net SVN: gar:[5670] csw/mgar/pkg

bensons at users.sourceforge.net bensons at users.sourceforge.net
Mon Jul 27 17:10:27 CEST 2009


Revision: 5670
          http://gar.svn.sourceforge.net/gar/?rev=5670&view=rev
Author:   bensons
Date:     2009-07-27 15:10:27 +0000 (Mon, 27 Jul 2009)

Log Message:
-----------
pbzip2: initial GAR version

Added Paths:
-----------
    csw/mgar/pkg/pbzip2/
    csw/mgar/pkg/pbzip2/branches/
    csw/mgar/pkg/pbzip2/tags/
    csw/mgar/pkg/pbzip2/trunk/
    csw/mgar/pkg/pbzip2/trunk/Makefile
    csw/mgar/pkg/pbzip2/trunk/checksums
    csw/mgar/pkg/pbzip2/trunk/files/


Property changes on: csw/mgar/pkg/pbzip2/trunk
___________________________________________________________________
Added: svn:ignore
   + cookies
download
work


Added: svn:externals
   + gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2


Added: csw/mgar/pkg/pbzip2/trunk/Makefile
===================================================================
--- csw/mgar/pkg/pbzip2/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/pbzip2/trunk/Makefile	2009-07-27 15:10:27 UTC (rev 5670)
@@ -0,0 +1,50 @@
+GARNAME = pbzip2
+GARVERSION = 1.0.5
+CATEGORIES = utils
+
+DESCRIPTION = Parallel BZIP2 Data Compression Software
+define BLURB
+  PBZIP2 is a parallel implementation of the bzip2 block-sorting file 
+  compressor that uses pthreads and achieves near-linear speedup on SMP 
+  machines. The output of this version is fully compatible with 
+  bzip2 v1.0.2 or newer
+endef
+
+MASTER_SITES = http://compression.ca/pbzip2/
+DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
+
+# We define upstream file regex so we can be notifed of new upstream software release
+UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
+
+# If the url used to check for software update is different of MASTER_SITES, then 
+# uncomment the next line. Otherwise it is set by default to the value of MASTER_SITES
+# UPSTREAM_MASTER_SITES = 
+
+# we require
+REQUIRED_PKGS = CSWbzip2
+
+# since there is no configure script, this is intentionally left empty
+CONFIGURE_SCRIPTS =
+
+# no build tests
+SKIPTEST = 1
+
+# custom install
+INSTALL_SCRIPTS = custom
+
+include gar/category.mk
+
+pre-build-modulated:
+	@gsed -i'' \
+	's,-pthread,-I$(includedir) -L$(libdir),g;s,g++,$(CXX),;s,-O2,$(CFLAGS),' \
+	$(WORKSRC)/Makefile
+
+install-custom:
+	[ ! -d "$(DESTDIR)$(mandir)/man1" ] && \
+		ginstall -d $(DESTDIR)$(mandir)/man1
+	ginstall -m 0644 $(WORKSRC)/pbzip2.1 $(DESTDIR)$(mandir)/man1
+	[ ! -d "$(DESTDIR)$(bindir)" ] && \
+		ginstall -d $(DESTDIR)$(bindir)
+	ginstall -m 0755 $(WORKSRC)/$(GARNAME) $(DESTDIR)$(bindir)
+	ln -s -f $(bindir)/$(GARNAME) $(DESTDIR)$(bindir)/pbunzip2
+	ln -s -f $(bindir)/$(GARNAME) $(DESTDIR)$(bindir)/pbzcat

Added: csw/mgar/pkg/pbzip2/trunk/checksums
===================================================================
--- csw/mgar/pkg/pbzip2/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/pbzip2/trunk/checksums	2009-07-27 15:10:27 UTC (rev 5670)
@@ -0,0 +1 @@
+e2448d22ee29d1e6549ac58b98df11ab  download/pbzip2-1.0.5.tar.gz


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list