summaryrefslogtreecommitdiffstats
path: root/rules/templates/template-blspec-entry-make
blob: a0b63a5dd2ad5a9ad1c87a826c09a17823c2b59c (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
# -*-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
#
PACKAGES-$(PTXCONF_BLSPEC_@PACKAGE@) += blspec-@package@

BLSPEC_@PACKAGE@_VERSION	:= @VERSION@

# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------

$(STATEDIR)/blspec-@package@.targetinstall:
	@$(call targetinfo)

	@$(call install_init, blspec-@package@)
	@$(call install_fixup,blspec-@package@,PRIORITY,optional)
	@$(call install_fixup,blspec-@package@,SECTION,base)
	@$(call install_fixup,blspec-@package@,AUTHOR,"@AUTHOR@")
	@$(call install_fixup,blspec-@package@,DESCRIPTION,missing)

	@$(call install_alternative, blspec-@package@, 0, 0, 0644, \
		/loader/entries/@ENTRY@)

	@$(call install_finish,blspec-@package@)

	@$(call touch)

# vim: syntax=make