mpd: update to 0.20.13
[openadk.git] / package / irssi / Makefile
blob182cb4b21220076b08cd9972df744a8dd9144668
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
6 PKG_NAME:= irssi
7 PKG_VERSION:= 1.0.4
8 PKG_RELEASE:= 1
9 PKG_HASH:= b85c07dbafe178213eccdc69f5f8f0ac024dea01c67244668f91ec1c06b986ca
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 \
32 --with-textui \
33 --with-terminfo \
34 --without-bot \
35 --without-proxy
37 ifneq (${ADK_PACKAGE_IRSSI_WITH_IPV6},)
38 CONFIGURE_ARGS+= --enable-ipv6
39 else
40 CONFIGURE_ARGS+= --disable-ipv6
41 endif
43 ifeq (${ADK_PACKAGE_IRSSI_WITHOUT_SSL},y)
44 CONFIGURE_ARGS+= --disable-ssl
45 else
46 CONFIGURE_ARGS+= --enable-ssl
47 endif
49 irssi-install:
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