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
|
# -*-makefile-*-
#
# Copyright (C) 2017 by Andreas Pretzsch <apr@cn-eng.de>
#
# 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.
#
PACKAGES-$(PTXCONF_LIBFAKETIME) += libfaketime
LIBFAKETIME_VERSION := 0.9.7
LIBFAKETIME_MD5 := 8617e2c6caf0977b3ce9a271f867302c
LIBFAKETIME := libfaketime-$(LIBFAKETIME_VERSION)
LIBFAKETIME_SUFFIX := tar.gz
LIBFAKETIME_URL := https://github.com/wolfcw/libfaketime/archive/v$(LIBFAKETIME_VERSION).$(LIBFAKETIME_SUFFIX)
LIBFAKETIME_SOURCE := $(SRCDIR)/$(LIBFAKETIME).$(LIBFAKETIME_SUFFIX)
LIBFAKETIME_DIR := $(BUILDDIR)/$(LIBFAKETIME)
LIBFAKETIME_LICENSE := GPL-2.0-only
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
LIBFAKETIME_CONF_TOOL := NO
# ----------------------------------------------------------------------------
# Compile
# ----------------------------------------------------------------------------
LIBFAKETIME_MAKE_ENV := $(CROSS_ENV)
LIBFAKETIME_MAKE_OPT := PREFIX=/usr
# ----------------------------------------------------------------------------
# Install
# ----------------------------------------------------------------------------
LIBFAKETIME_INSTALL_OPT := PREFIX=/usr install
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/libfaketime.targetinstall:
@$(call targetinfo)
@$(call install_init, libfaketime)
@$(call install_fixup, libfaketime,PRIORITY,optional)
@$(call install_fixup, libfaketime,SECTION,base)
@$(call install_fixup, libfaketime,AUTHOR,"Andreas Pretzsch <apr@cn-eng.de>")
@$(call install_fixup, libfaketime,DESCRIPTION,missing)
@$(call install_lib, libfaketime, 0, 0, 0644, faketime/libfaketime)
@$(call install_lib, libfaketime, 0, 0, 0644, faketime/libfaketimeMT)
@$(call install_copy, libfaketime, 0, 0, 0755, -, /usr/bin/faketime)
@$(call install_finish, libfaketime)
@$(call touch)
# vim: syntax=make
|