1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
9 PKG_HASH
:= 1b386ca026aa1875c380fd00ef1d24b71fb87cdae39ef5349ecca16c4567feac
10 PKG_DESCR
:= irc text client
11 PKG_SECTION
:= app
/chat
12 PKG_DEPENDS
:= glib libncurses
13 PKG_BUILDDEP
:= glib ncurses
14 PKG_URL
:= http
://www.irssi.org
/
15 PKG_SITES
:= https
://github.com
/irssi
/irssi
/releases
/download
/$(PKG_VERSION
)/
17 PKG_CHOICES_IRSSI
:= WITH_LIBRESSL WITHOUT_SSL
18 PKGCD_WITH_LIBRESSL
:= use libressl for crypto
19 PKGCB_WITH_LIBRESSL
:= libressl
20 PKGCS_WITH_LIBRESSL
:= libressl
21 PKGCD_WITHOUT_SSL
:= use no ssl
23 PKG_FLAVOURS_IRSSI
:= WITH_IPV6
24 PKGFD_WITH_IPV6
:= enable ipv6 support
26 include ${ADK_TOPDIR}/mk
/package.mk
28 $(eval
$(call PKG_template
,IRSSI
,irssi
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
30 TARGET_LDFLAGS
+= -ltinfo
31 CONFIGURE_ARGS
+= --with-perl
=no \
37 ifneq (${ADK_PACKAGE_IRSSI_WITH_IPV6},)
38 CONFIGURE_ARGS
+= --enable-ipv6
40 CONFIGURE_ARGS
+= --disable-ipv6
43 ifeq (${ADK_PACKAGE_IRSSI_WITHOUT_SSL},y
)
44 CONFIGURE_ARGS
+= --disable-ssl
46 CONFIGURE_ARGS
+= --enable-ssl
50 ${INSTALL_DIR} ${IDIR_IRSSI}/usr
/bin
51 ${INSTALL_BIN} ${WRKINST}/usr
/bin
/irssi
${IDIR_IRSSI}/usr
/bin
/
53 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk