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

root/csw/mgar/pkg/mbuffer/trunk/Makefile

Revision 17965, 1.6 KB (checked in by dmichelsen, 2 weeks ago)

mbuffer/trunk: Update to 20120505

Line 
1NAME = mbuffer
2VERSION = 20120505
3CATEGORIES = utils
4GARTYPE = v2
5
6DESCRIPTION = A tool for buffering data streams
7define BLURB
8  mbuffer is a tool for buffering data streams. Its special feature is to show
9  the I/O rate and summary to the user. It is especially useful, if you are
10  writing backups to fast tape drives or libraries. Those drives tend to stop
11  and rewind if they have a buffer underrun. This so called tape screwing
12  reduces the lifetime of the motors. mbuffer can prevent buffer underruns,
13  if used correctly and speed up the whole backup process.
14endef
15
16MASTER_SITES = http://www.maier-komor.de/software/mbuffer/
17DISTFILES = $(DISTNAME).tgz
18
19PATCHFILES += 0001-Fallback-for-DBL_EPSILON-only-in-Solaris-10.patch
20
21VENDOR_URL = http://www.maier-komor.de/mbuffer.html
22
23LICENSE = LICENSE
24
25# Required during packaging (for the "test" target)
26BUILD_DEP_PKGS  = CSWmktemp
27BUILD_DEP_PKGS += CSWgcc4core
28
29RUNTIME_DEP_PKGS = CSWlibmhash
30
31# 64-bit build enables buffers >= 2GB (see README).
32BUILD64 = 1
33ISAEXEC = 1
34
35# Required for updated libmhash (mbuffer builds against it) which allows for
36# flexible const/non-const definitions.  There should be a more intelligent
37# way to do this than to just put it into every build recipe which requires
38# libmhash though ...
39EXTRA_CPPFLAGS = -D__const=const
40
41EXTRA_PAX_ARGS = -s ,ChangeLog$$,changelog,p
42
43include gar/category.mk
44
45post-install-modulated: DOCS = ChangeLog README AUTHORS
46post-install-modulated: DOCDEST = $(DESTDIR)$(docdir)/$(NAME)
47post-install-modulated:
48        ginstall -d $(DOCDEST)
49        cp $(addprefix $(WORKSRC)/,$(DOCS)) $(DOCDEST)
50        cp $(FILEDIR)/changelog.CSW $(DOCDEST)
51        @$(MAKECOOKIE)
Note: See TracBrowser for help on using the browser.