bump waldux kernel version
[openadk.git] / package / irssi / Makefile
blob3af67de8cd239c62290008ec77e8879e11f75f28
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.7
8 PKG_RELEASE:= 1
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 \
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