1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# -*-makefile-*-
#
# Copyright (C) 2009 by Wolfram Sang
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#
#
# We provide this package
#
PACKAGES-$(PTXCONF_PV) += pv
#
# Paths and names
#
PV_VERSION := 1.4.12
PV_MD5 := 605adc0f369496bca92b0656cf86b25e
PV := pv-$(PV_VERSION)
PV_SUFFIX := tar.bz2
PV_URL := http://www.ivarch.com/programs/sources/$(PV).$(PV_SUFFIX)
PV_SOURCE := $(SRCDIR)/$(PV).$(PV_SUFFIX)
PV_DIR := $(BUILDDIR)/$(PV)
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
PV_PATH := PATH=$(CROSS_PATH)
PV_ENV := $(CROSS_ENV)
PV_MAKEVARS := $(CROSS_ENV_LD)
#
# autoconf
#
PV_AUTOCONF := \
$(CROSS_AUTOCONF_USR) \
--disable-nls \
--disable-splice \
--disable-ipc \
--$(call ptx/endis, PTXCONF_GLOBAL_LARGE_FILE)-lfs \
--enable-debugging
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/pv.targetinstall:
@$(call targetinfo)
@$(call install_init, pv)
@$(call install_fixup, pv,PRIORITY,optional)
@$(call install_fixup, pv,SECTION,base)
@$(call install_fixup, pv,AUTHOR,"Wolfram Sang <w.sang@pengutronix.de>")
@$(call install_fixup, pv,DESCRIPTION,missing)
@$(call install_copy, pv, 0, 0, 0755, -, /usr/bin/pv)
@$(call install_finish, pv)
@$(call touch)
# vim: syntax=make
|