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

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

Revision 20322, 1.7 KB (checked in by dmichelsen, 3 months ago)

mbuffer/trunk: Update to 20130220

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