summaryrefslogtreecommitdiffstats
path: root/rules/gpm.make
blob: 4d7e6991b33b0329c82e8a3ea6b53678016c4a7a (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
# -*-makefile-*-
#
# Copyright (C) 2009 by Markus Rathgeb <rathgeb.markus@googlemail.com>
#
# 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_GPM) += gpm

#
# Paths and names
#
GPM_VERSION	:= 1.20.6
GPM_MD5		:= 6b534da16dc1b28ba828dea89e520f6f
GPM		:= gpm-$(GPM_VERSION)
GPM_SUFFIX	:= tar.bz2
GPM_URL		:= http://www.nico.schottelius.org/software/gpm/archives/$(GPM).$(GPM_SUFFIX)
GPM_SOURCE	:= $(SRCDIR)/$(GPM).$(GPM_SUFFIX)
GPM_DIR		:= $(BUILDDIR)/$(GPM)
GPM_LICENSE	:= GPL-2.0-or-later

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

GPM_PATH     := PATH=$(CROSS_PATH)
GPM_ENV      := $(CROSS_ENV)

#
# autoconf
#
GPM_AUTOCONF := $(CROSS_AUTOCONF_USR)

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

$(STATEDIR)/gpm.targetinstall:
	@$(call targetinfo)

	@$(call install_init, gpm)
	@$(call install_fixup, gpm,PRIORITY,optional)
	@$(call install_fixup, gpm,SECTION,base)
	@$(call install_fixup, gpm,AUTHOR,"Markus Rathgeb <rathgeb.markus@googlemail.com>")
	@$(call install_fixup, gpm,DESCRIPTION,missing)

	@$(call install_lib, gpm, 0, 0, 0644, libgpm)
	@$(call install_copy, gpm, 0, 0, 0755, -, /usr/sbin/gpm)

	@$(call install_finish, gpm)

	@$(call touch)

# vim: syntax=make