summaryrefslogtreecommitdiffstats
path: root/rules/templates/template-class-make
blob: cc95d83c29d99cce83fb57fc6fc3270625206f22 (plain)
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
69
70
71
72
73
74
75
76
77
78
79
80
81
# -*-makefile-*-
#
# Copyright (C) @YEAR@ by @AUTHOR@
#
# 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
#
@CLASS@PACKAGES-$(PTXCONF_@CLASS@@PACKAGE@) += @class@@package@

#
# Paths and names
#
@CLASS@@PACKAGE@_VERSION	:= @VERSION@
@CLASS@@PACKAGE@_MD5	:=
@CLASS@@PACKAGE@		:= @package_filename@-$(@CLASS@@PACKAGE@_VERSION)
@CLASS@@PACKAGE@_SUFFIX	:= @SUFFIX@
@CLASS@@PACKAGE@_URL	:= @URL@/$(@CLASS@@PACKAGE@).$(@CLASS@@PACKAGE@_SUFFIX)
@CLASS@@PACKAGE@_SOURCE	:= $(SRCDIR)/$(@CLASS@@PACKAGE@).$(@CLASS@@PACKAGE@_SUFFIX)
@CLASS@@PACKAGE@_DIR	:= $(@CLASS@BUILDDIR)/$(@CLASS@@PACKAGE@)

# ----------------------------------------------------------------------------
# Get
# ----------------------------------------------------------------------------

#$(@CLASS@@PACKAGE@_SOURCE):
#	@$(call targetinfo)
#	@$(call get, @CLASS@@PACKAGE@)

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

#@CLASS@@PACKAGE@_CONF_ENV	:= $(@AUTOCONF_CLASS@ENV)

#
# autoconf
#
@CLASS@@PACKAGE@_CONF_TOOL	:= autoconf
#@CLASS@@PACKAGE@_CONF_OPT	:= $(@AUTOCONF_CLASS@AUTOCONF)

#$(STATEDIR)/@class@@package@.prepare:
#	@$(call targetinfo)
#	@$(call clean, $(@CLASS@@PACKAGE@_DIR)/config.cache)
#	cd $(@CLASS@@PACKAGE@_DIR) && \
#		$(@CLASS@@PACKAGE@_PATH) $(@CLASS@@PACKAGE@_ENV) \
#		./configure $(@CLASS@@PACKAGE@_CONF_OPT)
#	@$(call touch)

# ----------------------------------------------------------------------------
# Compile
# ----------------------------------------------------------------------------

#$(STATEDIR)/@class@@package@.compile:
#	@$(call targetinfo)
#	@$(call world/compile, @CLASS@@PACKAGE@)
#	@$(call touch)

# ----------------------------------------------------------------------------
# Install
# ----------------------------------------------------------------------------

#$(STATEDIR)/@class@@package@.install:
#	@$(call targetinfo)
#	@$(call world/install, @CLASS@@PACKAGE@)
#	@$(call touch)

# ----------------------------------------------------------------------------
# Clean
# ----------------------------------------------------------------------------

#$(STATEDIR)/@class@@package@.clean:
#	@$(call targetinfo)
#	@$(call clean_pkg, @CLASS@@PACKAGE@)

# vim: syntax=make