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

root/csw/mgar/pkg/clpbar/trunk/Makefile

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

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

  • Property svn:keywords set to Id
Line 
1# Copyright 2009 OpenCSW
2# Distributed under the terms of the GNU General Public License v2
3# $Id$
4
5NAME = bar
6VERSION = 1.11.1
7CATEGORIES = apps
8GARTYPE = v2
9DESCRIPTION = A command line tool to display information about a data transfer stream
10
11define BLURB
12Bar is a simple tool to copy a stream of data and print a display for the user on stderr showing (a) the amount of data passed, (b) the throughput of the data transfer, and (c) the transfer time, or, if the total size of the data stream is known, the estimated time remaining, what percentage of the data transfer has been completed, and a progress bar.
13Bar was originally written for the purpose of estimating the amount of time needed to transfer large amounts (many, many gigabytes) of data across a network. (Usually in an SSH/tar pipe.)
14endef
15
16SF_PROJ = clpbar
17MASTER_SITES = $(SF_MIRRORS)
18DISTFILES += $(NAME)_$(VERSION).tar.gz
19DISTFILES += clpbarrc
20
21CLPBARRC = $(sysconfdir)/clpbarrc
22
23VENDOR_URL = http://clpbar.sourceforge.net/
24
25REINPLACE_MATCH = /etc/clpbarrc
26REINPLACE_WITH = $(CLPBARRC)
27REINPLACE_FILES += args.c
28REINPLACE_FILES += bar.1.in
29
30CONFIGURE_ARGS += $(DIRPATHS)
31# It is 64 bit when *I* say so
32CONFIGURE_ARGS += --disable-use-m64
33
34PRESERVECONF = $(CLPBARRC)
35
36include gar/category.mk
37
38post-install-modulated:
39        ginstall -d $(DESTDIR)$(dir $(CLPBARRC))
40        ginstall $(WORKDIR)/clpbarrc $(DESTDIR)$(CLPBARRC)
41        @$(MAKECOOKIE)
Note: See TracBrowser for help on using the browser.