1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

root/csw/mgar/pkg/pbzip2/trunk/Makefile

Revision 16916, 1.5 KB (checked in by dmichelsen, 4 months ago)

WHOLE TREE: Explicitly set GARTYPE to current default 'v2'

Line 
1NAME = pbzip2
2VERSION = 1.1.6
3CATEGORIES = utils
4GARTYPE = v2
5
6DESCRIPTION = Parallel BZIP2 Data Compression Software
7define BLURB
8  PBZIP2 is a parallel implementation of the bzip2 block-sorting file
9  compressor that uses pthreads and achieves near-linear speedup on SMP
10  machines. The output of this version is fully compatible with
11  bzip2 v1.0.2 or newer
12endef
13
14MASTER_SITES = http://compression.ca/pbzip2/
15DISTFILES  = $(NAME)-$(VERSION).tar.gz
16
17PACKAGES += CSWpbzip2
18CATALOGNAME_CSWpbzip2 = pbzip2
19SPKG_DESC_CSWpbzip2 = Parallel BZIP2 data compression software
20RUNTIME_DEP_PKGS_CSWpbzip2 += CSWlibbz2-1-0
21
22# Since there is no configure script, this is intentionally left empty
23CONFIGURE_SCRIPTS =
24
25# There is no testsuite
26TEST_SCRIPTS =
27
28INSTALL_SCRIPTS = custom
29
30# After some testing. Using a special ISA modulation does *not* speed
31# up bzip2. Therefore I will just stick to a regular 32bit build here.
32
33include gar/category.mk
34
35pre-build-modulated:
36        gsed -i'' 's,-lpthread,-norunpath -lpthread,g;s,-pthread,-I$(includedir) -L$(libdir),g;s,g++,$(CXX),;s,-O2,-fast $(filter-out -xnorunpath,$(CFLAGS)),' $(WORKSRC)/Makefile
37
38install-custom:
39        [ ! -d "$(DESTDIR)$(mandir)/man1" ] && \
40                ginstall -d $(DESTDIR)$(mandir)/man1
41        ginstall -m 0644 $(WORKSRC)/pbzip2.1 $(DESTDIR)$(mandir)/man1
42        [ ! -d "$(DESTDIR)$(bindir)" ] && \
43                ginstall -d $(DESTDIR)$(bindir)
44        ginstall -m 0755 $(WORKSRC)/$(NAME) $(DESTDIR)$(bindir)
45        ln -s -f $(bindir)/$(NAME) $(DESTDIR)$(bindir)/pbunzip2
46        ln -s -f $(bindir)/$(NAME) $(DESTDIR)$(bindir)/pbzcat
Note: See TracBrowser for help on using the browser.