summaryrefslogtreecommitdiffstats
path: root/rules/libnewt.make
blob: f56f48b7792f336bcfa6455a83a5f711ceb22850 (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
# -*-makefile-*-
#
# Copyright (C) 2015 by Juergen Borleis <jbe@pengutronix.de>
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
PACKAGES-$(PTXCONF_LIBNEWT) += libnewt

#
# Paths and names
#
LIBNEWT_VERSION	:= 0.52.20
LIBNEWT_MD5	:= 70b288f821234593a8e7920e435b259b
LIBNEWT		:= newt-$(LIBNEWT_VERSION)
LIBNEWT_SUFFIX	:= tar.gz
LIBNEWT_URL	:= https://releases.pagure.org/newt/$(LIBNEWT).$(LIBNEWT_SUFFIX)
LIBNEWT_SOURCE	:= $(SRCDIR)/$(LIBNEWT).$(LIBNEWT_SUFFIX)
LIBNEWT_DIR	:= $(BUILDDIR)/$(LIBNEWT)
LIBNEWT_LICENSE	:= GPL-2.0-only

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

LIBNEWT_CONF_TOOL	:= autoconf
LIBNEWT_CONF_OPT	:= \
	$(CROSS_AUTOCONF_USR) \
	$(GLOBAL_LARGE_FILE_OPTION) \
	--disable-nls \
	--without-python \
	--without-tcl \
	--without-gpm-support \
	--without-colorsfile

LIBNEWT_MAKE_OPT	:= sharedlib
LIBNEWT_INSTALL_OPT	:= install-sh

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

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

	@$(call install_init, libnewt)
	@$(call install_fixup, libnewt,PRIORITY,optional)
	@$(call install_fixup, libnewt,SECTION,base)
	@$(call install_fixup, libnewt,AUTHOR,"Juergen Borleis <jbe@pengutronix.de>")
	@$(call install_fixup, libnewt,DESCRIPTION,"Not Eriks Windowing Toolkit")

	@$(call install_lib, libnewt, 0, 0, 0644, libnewt)

	@$(call install_finish, libnewt)

	@$(call touch)

# vim: syntax=make