summaryrefslogtreecommitdiff
path: root/package/elinks/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/elinks/Makefile')
-rw-r--r--package/elinks/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/elinks/Makefile b/package/elinks/Makefile
index 80de78b54..4a11809df 100644
--- a/package/elinks/Makefile
+++ b/package/elinks/Makefile
@@ -14,6 +14,9 @@ PKG_BUILDDEP+= openssl
PKG_URL:= http://elinks.or.cz/
PKG_SITES:= http://elinks.or.cz/download/
+PKG_FLAVOURS:= WITH_IPV6
+PKGFD_WITH_IPV6:= enable IPv6 support
+
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,ELINKS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -46,6 +49,12 @@ CONFIGURE_ARGS+= --enable-small \
--without-zlib
MAKE_FLAGS+= CC='${TARGET_CC}'
+ifneq (${ADK_PACKAGE_ELINKS_WITH_IPV6},)
+CONFIGURE_ARGS+= --enable-ipv6
+else
+CONFIGURE_ARGS+= --disable-ipv6
+endif
+
do-install:
${INSTALL_DIR} ${IDIR_ELINKS}/usr/bin
${INSTALL_BIN} ${WRKBUILD}/src/elinks ${IDIR_ELINKS}/usr/bin/