blob: 70b0e256a05e17d84a78e144bb514c7f7a49d5c5 (
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
|
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
include ${TOPDIR}/rules.mk
PKG_NAME:= irssi
PKG_VERSION:= 0.8.15
PKG_RELEASE:= 1
PKG_MD5SUM:= 870db8e319f640c2bf446c30d0c24ef6
PKG_DESCR:= IRC text client
PKG_SECTION:= chat
PKG_DEPENDS:= glib libncurses
PKG_BUILDDEP+= glib ncurses
ifeq (${ADK_PACKAGE_IRSSI_WITH_SSL},y)
PKG_BUILDDEP+= openssl
endif
PKG_URL:= http://www.irssi.org/
PKG_SITES:= http://www.irssi.org/files/
PKG_FLAVOURS:= WITH_SSL WITH_IPV6
PKGFD_SSL:= SSL/TLS support
PKGFS_SSL:= libopenssl
PKGFD_IPV6:= IPv6 support
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,IRSSI,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIGURE_ARGS+= --with-perl=no \
--with-gnu-ld \
--with-textui \
--with-terminfo \
--without-bot \
--without-proxy
ifneq (${ADK_PACKAGE_IRSSI_WITH_IPV6},)
CONFIGURE_ARGS+= --enable-ipv6
else
CONFIGURE_ARGS+= --disable-ipv6
endif
ifneq (${ADK_PACKAGE_IRSSI_WITH_SSL},)
CONFIGURE_ARGS+= --enable-ssl
else
CONFIGURE_ARGS+= --disable-ssl
endif
post-install:
${INSTALL_DIR} ${IDIR_IRSSI}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/irssi ${IDIR_IRSSI}/usr/bin/
include ${TOPDIR}/mk/pkg-bottom.mk
|