|
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 | |
|---|
| 5 | NAME = bar |
|---|
| 6 | VERSION = 1.11.1 |
|---|
| 7 | CATEGORIES = apps |
|---|
| 8 | GARTYPE = v2 |
|---|
| 9 | DESCRIPTION = A command line tool to display information about a data transfer stream |
|---|
| 10 | |
|---|
| 11 | define BLURB |
|---|
| 12 | Bar 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. |
|---|
| 13 | Bar 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.) |
|---|
| 14 | endef |
|---|
| 15 | |
|---|
| 16 | SF_PROJ = clpbar |
|---|
| 17 | MASTER_SITES = $(SF_MIRRORS) |
|---|
| 18 | DISTFILES += $(NAME)_$(VERSION).tar.gz |
|---|
| 19 | DISTFILES += clpbarrc |
|---|
| 20 | |
|---|
| 21 | CLPBARRC = $(sysconfdir)/clpbarrc |
|---|
| 22 | |
|---|
| 23 | VENDOR_URL = http://clpbar.sourceforge.net/ |
|---|
| 24 | |
|---|
| 25 | REINPLACE_MATCH = /etc/clpbarrc |
|---|
| 26 | REINPLACE_WITH = $(CLPBARRC) |
|---|
| 27 | REINPLACE_FILES += args.c |
|---|
| 28 | REINPLACE_FILES += bar.1.in |
|---|
| 29 | |
|---|
| 30 | CONFIGURE_ARGS += $(DIRPATHS) |
|---|
| 31 | # It is 64 bit when *I* say so |
|---|
| 32 | CONFIGURE_ARGS += --disable-use-m64 |
|---|
| 33 | |
|---|
| 34 | PRESERVECONF = $(CLPBARRC) |
|---|
| 35 | |
|---|
| 36 | include gar/category.mk |
|---|
| 37 | |
|---|
| 38 | post-install-modulated: |
|---|
| 39 | ginstall -d $(DESTDIR)$(dir $(CLPBARRC)) |
|---|
| 40 | ginstall $(WORKDIR)/clpbarrc $(DESTDIR)$(CLPBARRC) |
|---|
| 41 | @$(MAKECOOKIE) |
|---|