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
66
67
68
|
# -*-makefile-*-
#
# Copyright (C) 2006 by Sascha Hauer
#
# 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_SCREEN) += screen
#
# Paths and names
#
SCREEN_VERSION := 4.5.0
SCREEN_MD5 := a32105a91359afab1a4349209a028e31
SCREEN := screen-$(SCREEN_VERSION)
SCREEN_SUFFIX := tar.gz
SCREEN_URL := $(call ptx/mirror, GNU, screen/$(SCREEN).$(SCREEN_SUFFIX))
SCREEN_SOURCE := $(SRCDIR)/$(SCREEN).$(SCREEN_SUFFIX)
SCREEN_DIR := $(BUILDDIR)/$(SCREEN)
SCREEN_LICENSE := GPL-2.0-or-later
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
SCREEN_PATH := PATH=$(CROSS_PATH)
SCREEN_ENV := $(CROSS_ENV)
#
# autoconf
#
SCREEN_AUTOCONF := \
$(CROSS_AUTOCONF_USR) \
--disable-use-locale \
--with-sys-screenrc=/etc/screenrc
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/screen.targetinstall:
@$(call targetinfo)
@$(call install_init, screen)
@$(call install_fixup, screen,PRIORITY,optional)
@$(call install_fixup, screen,SECTION,base)
@$(call install_fixup, screen,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>")
@$(call install_fixup, screen,DESCRIPTION,missing)
@$(call install_copy, screen, 0, 0, 0755, \
$(SCREEN_PKGDIR)/usr/bin/screen-$(SCREEN_VERSION), \
/usr/bin/screen)
ifdef PTXCONF_SCREEN_ETC_SCREENRC
@$(call install_alternative, screen, 0, 0, 0644, /etc/screenrc, n)
endif
@$(call install_finish, screen)
@$(call touch)
# vim: syntax=make
|