summaryrefslogtreecommitdiffstats
path: root/rules/irssi.make
blob: 6f965dd782ae4a54cbb48d0802454c703d5c35de (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) 2010 by Josef Holzmayr <holzmayr@rsi-elektrotechnik.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.
#

#
# We provide this package
#
PACKAGES-$(PTXCONF_IRSSI) += irssi

#
# Paths and names
#
IRSSI_VERSION	:= 0.8.14
IRSSI_MD5	:= 00efe7638dd596d5930dfa2aeae87b3a
IRSSI		:= irssi-$(IRSSI_VERSION)
IRSSI_SUFFIX	:= tar.bz2
IRSSI_URL	:= http://irssi.org/files/$(IRSSI).$(IRSSI_SUFFIX)
IRSSI_SOURCE	:= $(SRCDIR)/$(IRSSI).$(IRSSI_SUFFIX)
IRSSI_DIR	:= $(BUILDDIR)/$(IRSSI)
IRSSI_LICENSE	:= unknown

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

#
# autoconf
#
IRSSI_CONF_TOOL := autoconf
IRSSI_CONF_OPT := \
	$(CROSS_AUTOCONF_USR) \
	$(GLOBAL_IPV6_OPTION) \
	--with-ncurses=$(PTXDIST_SYSROOT_TARGET)/usr \
	--without-perl

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

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

	@$(call install_init,  irssi)
	@$(call install_fixup, irssi,PRIORITY,optional)
	@$(call install_fixup, irssi,SECTION,base)
	@$(call install_fixup, irssi,AUTHOR,"Josef Holzmayr <holzmayr@rsi-elektrotechnik.de")
	@$(call install_fixup, irssi,DESCRIPTION,missing)

	@$(call install_copy, irssi, 0, 0, 0755, -, /usr/bin/irssi)
	@$(call install_alternative, irssi, 0, 0, 0644, /etc/irssi.conf)

	@$(call install_finish, irssi)

	@$(call touch)

# vim: syntax=make